Tool for annotating images
Version 0.7.2
kImageAnnotator depends on kColorPicker which needs to be installed before building kImageAnnotator. Install instructions can be found on the GitHub page.
- Get the latest release from GitHub by cloning the repo:
$ git clone https://github.com/ksnip/kImageAnnotator
- Change to repo directory:
$ cd kImageAnnotator
- Make new build directory and enter it:
$ mkdir build && cd build
- Create the makefile and build the project:
$ cmake .. && make
to build with Qt6, pass-DBUILD_WITH_QT6=true
to thecmake
command - Install shared library (not required when only using the example):
$ sudo make install
- Run the example application:
$ ./example/kImageAnnotator-example
You can either build the project as shared library by providing the flag -DBUILD_SHARED_LIBS=ON
to cmake or -DBUILD_SHARED_LIBS=OFF
to build as static library. When no flag is provided a
static library is build. For windows, we currently only support building as static library.
-
Let cmake find the shared library, optionally with version
set(KIMAGEANNOTATOR_MIN_VERSION "0.x.x")
to build with Qt5:
find_package(kImageAnnotator-Qt5 ${KIMAGEANNOTATOR_MIN_VERSION} REQUIRED)
to build with Qt6:
find_package(kImageAnnotator-Qt6 ${KIMAGEANNOTATOR_MIN_VERSION} REQUIRED)
-
Link the library with your application
target_link_libraries(myApp kImageAnnotator)
We are always looking for help with translations, contributors are welcome!
For translations, we use Weblate!
Stickers designed by OpenMoji – the open-source emoji and icon project.