AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

2006.01.12 10:39 "[Tiff] support scaling parameters while read tif file with JPEG compression.", by Kelvin Zhong

Hi All,
   I found Jpeglib is enable to read the image data with DCT scaling
choices.

see function jpeg_calc_output_dimensions in jdmaster.cpp file. this will accelerate read image while the custom only need a preview image. (say 1/4 size of the original size).

And i found it's can be done through the JPEGState.cinfo.d(jpeg_decompress_struct) parameters. in libtiff. so why not such functionality isn't available today, I think it's very powerful.

Do anyone have do similiar things?

any things (codes or ideas) for share?

Kingore@126.com
Kelvin Zhong
01/12/2005