Removing JPEG artifacts from scanned text
Posted: 2016-06-26T05:41:57-07:00
I'm trying to convert images containing greyscale text on white background (improperly) saved as JPG into PNG, but that produces files larger than the original due to the JPEG artifacts (the text otherwise looks OK, i.e. the artifacts are mild).
Currently it looks like this (gamma exaggerated for illustration purposes):
If I convert it as-is, the size increases because of the JPEG artifacts.
Example:
Original JPEG: ipsum.jpg, 10KB
Converted to PNG: ipsum.png, 14KB
What's the best way to reduce the noise but without distorting the text? (I rather keep some noise than remove some detail from the text)
Currently it looks like this (gamma exaggerated for illustration purposes):
If I convert it as-is, the size increases because of the JPEG artifacts.
Example:
Original JPEG: ipsum.jpg, 10KB
Converted to PNG: ipsum.png, 14KB
What's the best way to reduce the noise but without distorting the text? (I rather keep some noise than remove some detail from the text)