Page 1 of 1

TIFF CCITT4 images is too large - bug?

Posted: 02 Dec 2004 10:28
by Leopoldus
The most of images in format TIFF CCITT Fax Group4 are be reported to be too large for previewing in the preview pane. However few of them are not. This behaivour does not depend of how large really the file is. Seems to be a bug, isn't it?
What should be by the author's intend the maximum size of TIFF CCITT4 images files to be previewed in the preview panel?

Re: TIFF CCITT4 images is too large - bug?

Posted: 03 Dec 2004 11:10
by admin
This is the current formula:

Code: Select all

fTooLarge = picWidth * picHeight > Max(screenWidth * screenHeight * 4, lThumbMaxArea)
In words: if the pic's area is larger than what is bigger (four times the screen area :: max size of thumbed originals) then it's too large. In other words: enlarge max size of thumbed originals (-> Configuration) and you can see your TIFFs.