Comment on š FairScan > Syncthing > Paperlees-ngx
RazzleDazzle@discuss.tchncs.de āØ5ā© āØweeksā© agoThanks! And thatās ok, Iām more interested in the steps than the code itself. Do you apply any optimizations with image magik in step 2?
Comment on š FairScan > Syncthing > Paperlees-ngx
RazzleDazzle@discuss.tchncs.de āØ5ā© āØweeksā© agoThanks! And thatās ok, Iām more interested in the steps than the code itself. Do you apply any optimizations with image magik in step 2?
llii@discuss.tchncs.de āØ5ā© āØweeksā© ago
Yeah, I do this:
magick ā$fileā -limit memory 1GiB -limit map 2GiB -threshold 60% -define connected-components:area-threshold=5 -define connected-components:mean-color=true -connected-components 8 output.pngIt makes the scan 1-bit black and white. It mostly removes bright background images, if there are any on the pages. I think it works quite well for basic black and white documents, but color graphics and graphs arenāt preserved.