AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.01.21 09:15 "[Tiff] change fax resolution", by Takahashi Ryo
2004.01.21 12:15 "Re: [Tiff] change fax resolution", by Andrey Kiselev
2004.01.22 02:04 "Re: [Tiff] change fax resolution", by Takahashi Ryo
2004.01.22 02:13 "Re: [Tiff] change fax resolution", by Joris
2004.01.22 07:39 "Re: [Tiff] change fax resolution", by Andrey Kiselev
2004.01.22 09:20 "Re: [Tiff] change fax resolution", by Joris
2004.01.22 11:50 "Re: [Tiff] change fax resolution", by Joris
2004.01.27 08:48 "Re: [Tiff] change fax resolution", by Takahashi Ryo

2004.01.22 11:50 "Re: [Tiff] change fax resolution", by Joris

When I said 'line width', I actually meant line thickness, or... What is the correct word to use here?

When I talked about 'either resolution is low or high enough', that may have sounded confusing, since exact resolution was specified. I actually meant more like content-related resolution. Like, it's quite possible that the images contain text of only 7 or 8 pixels high, and lines of one pixel 'thick', in wich case skipping every 2nd line is certainly not going to yield exceptable results, while it's also possible all text is eg some bold font and at least 20 pixels high, and lines are at least 3 pixels thick, in which case skipping every 2nd line should yield very nearly the same quality as resampling+dithering (I guess).

Thinking about this further, I am now wondering how the original PNG images came about. Is there already a dithering step involved in creating these black and white PNG's? If it's possible to render full 8bit grayscale PNG's instead, truelly using the 8bit grayscale range, then resampling these instead and dithering afterwards will certainly yield much more exceptable quality. And even if it's not (eg because text and line drawing is rendered on the PNG without anti-aliassing), it may be worthwhile rendering the PNG at eg 800x800 resolution, black and white, resampling to 200x100 8bit brightness, and dithering to black and white next. My guess is that either of these two last options will yield considerably better quality.

Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be