When doing automated scanning, like I do to for properly organizing paper administration, the resulting images can get quite large because the background has near-white information that is still very complex to save. Imagemagick has nice solution for that; -white-threshold x%. It also has -black-threshold, should it be necessary.
Tag: ImageMagick
I encountered one of those scans which was shared as a single-page PDF. I don’t want it that way, because I want to include it in a web page. I want a simple bitmap image. ImageMagick comes to the rescue:
convert scan.pdf scan.jpg
If the resolution this produces is too low for you, try telling Ghostscript (which ImageMagick uses internally) that you want a different density:
convert -density 300 scan.pdf scan.jpg
Attribution
Googling linux pdf to jpg
produced two useful results:
Recent Comments