TIFF CCITT4 images is too large - bug?

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
Leopoldus
Posts: 237
Joined: 24 Jun 2004 10:58

TIFF CCITT4 images is too large - bug?

Post 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?

admin
Site Admin
Posts: 66609
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: TIFF CCITT4 images is too large - bug?

Post 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.

Post Reply