Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lenoben/image-processing
C/C++ cmake library for digital image processing without external libraries apart from the png and zlib libraries
https://github.com/lenoben/image-processing
c cpp digital-image-processing image-processing library linux-app png
Last synced: 4 days ago
JSON representation
C/C++ cmake library for digital image processing without external libraries apart from the png and zlib libraries
- Host: GitHub
- URL: https://github.com/lenoben/image-processing
- Owner: lenoben
- License: mit
- Created: 2024-05-14T19:44:00.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-11-13T12:24:19.000Z (2 months ago)
- Last Synced: 2024-11-17T20:46:17.926Z (2 months ago)
- Topics: c, cpp, digital-image-processing, image-processing, library, linux-app, png
- Language: C
- Homepage:
- Size: 888 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# image-processing
## Settıng the lıb up for a cmake executable project
* clone this repo in you seperate directory
* cd into the directory and create a build directory
* run this cmake command
```sh
cmake -DCMAKE_INSTALL_PREFIX=/deps ..
make install
```
### cmake exe project
```cmake
# Include directories for headers
include_directories(${CMAKE_SOURCE_DIR}/deps/include)# Add zlib and libpng subdirectories
add_subdirectory(${CMAKE_SOURCE_DIR}/deps/include/zlib/)
add_subdirectory(${CMAKE_SOURCE_DIR}/deps/include/png/)# Include directories for zlib and libpng
include_directories(${CMAKE_SOURCE_DIR}/deps/include/zlib/)
include_directories(${CMAKE_SOURCE_DIR}/deps/include/png/)# Add the path to the libraries
set(LIBRARY_PATH "${CMAKE_SOURCE_DIR}/deps/lib")# Link against the static libraries directly from the dependency folder
target_link_libraries(YOUR-EXE PRIVATE
${LIBRARY_PATH}/libapp.a
zlib_static png_static
)
```