]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
update readme with new libraries
authorBastian Dehn <hhaalo@arcor.de>
Sat, 1 Feb 2025 15:29:31 +0000 (16:29 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 1 Feb 2025 15:29:31 +0000 (16:29 +0100)
readme.md

index 29af4a62eb17e859393b5ce2650b84fa7749ae14..f3cdc43fba06d5dfc4bdca520f021041bfc29f80 100644 (file)
--- a/readme.md
+++ b/readme.md
@@ -28,6 +28,9 @@ https://support.alarisworld.com/de-de/s2080w-scanner#Software
 - [confuse](https://www.nongnu.org/confuse/manual/index.html) - read config file
 - [curl](https://curl.se/libcurl) - communicate with scanner
 - [json-c](https://json-c.github.io/json-c/json-c-current-release/doc/html/index.html) - parse response
+- [jpeg](https://libjpeg-turbo.org) - read color and gray jpeg
+- [tiff](https://libtiff.gitlab.io/libtiff) - read bw tiff
+- [netpbm](https://netpbm.sourceforge.net) - write pnm image
 - [imagemagick](https://imagemagick.org/script/magick-core.php) - convert jpg to pnm
 - math - calc bytes per line
 - pthread  - heartbeat interval sleep
@@ -38,6 +41,16 @@ https://support.alarisworld.com/de-de/s2080w-scanner#Software
 
 ## Build
 
+### Install Dependencies
+
+You need to install dependencies
+
+```bash
+sudo apt-get install imagemagick sane libsane-dev libconfuse-dev libcurl4-gnutls-dev libjson-c-dev libjpeg-dev libnetpbm-dev libtiff-dev libmagickcore-dev
+```
+
+### Build source
+
 ```bash
 mkdir build && cd build
 cmake -DCMAKE_BUILD_TYPE=Release ..
@@ -45,14 +58,19 @@ make
 sudo make install
 ```
 
-### Build deb package
-
-You need to install dependencies
+You can build with ImageMagick with cmake option **IMAGEMAGICK=ON**. This disable
+another jpeg, tiff and netpbm libraries to convert image, then use ImageMagick
+old converter before **v1.0.29**.
 
 ```bash
-sudo apt-get install imagemagick sane libsane-dev libconfuse-dev libcurl4-gnutls-dev libjson-c-dev libmagickcore-dev
+mkdir build && cd build
+cmake -DCMAKE_BUILD_TYPE=Release -DIMAGEMAGICK=ON ..
+make
+sudo make install
 ```
 
+### Build deb package
+
 Build Package
 
 ```bash