Home » Questions » Computers [ Ask a new question ]

Brighten and unify the background of a scanned image

Brighten and unify the background of a scanned image

My girlfriend has scanned a few comics images, drawn with pencil. She wants to publish them on the web, but the different grayscale shadows of the paper are still evident in the image.

Asked by: Guest | Views: 193
Total answers/comments: 1
Guest [Entry]

"Using ImageMagick you can achieve it like this:

convert source.jpeg -white-threshold 75% target.jpeg

All pixels in the source image with a brightness level of 75% or higher will be set to white in the target image. Just play with the threshold value until you get something that works well. It could be a problem if parts of the drawing comes out brighter than the paper in your scans, but that shouldn't normally be the case."