0.72: TIFF compression after rotation

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, xnview, Dreamer

Post Reply
User avatar
arxiv
Posts: 8
Joined: Wed Oct 14, 2015 1:00 am
Contact:

0.72: TIFF compression after rotation

Post by arxiv »

1. Using XNViewMP 0.72 x64 (Dec 19 2014) on Windows10.
2. After 90-degree rotation, CCITT G4 compression B&W TIFF image changed to LZW compression.
3. How can I get CCITT G4 compression TIFF image after rotation ?
When I use XNView (not MP), this issue does not happen.

4. [File] > [Format settings] > [Write] > [TIFF] settings are below:
Compression for black&white picture --> CCITT G4
Compression for color picture --> LZW
All checkbox --> off

Regards,
User avatar
arxiv
Posts: 8
Joined: Wed Oct 14, 2015 1:00 am
Contact:

Re: TIFF compression after rotation

Post by arxiv »

It seems that XNViewMP apply "Compression for color picture" setting to B&W image.

[File] > [Format settings] > [Write] > [TIFF] settings:

Compression for black&white picture --> CCITT G4
Compression for color picture --> LZW
--> B&W image after rotation --> LZW

Compression for black&white picture --> CCITT G4
Compression for color picture --> No Compression
--> B&W image after rotation --> No Compression
Compression for black&white picture --> CCITT G4
Compression for color picture --> Packbits
--> B&W image after rotation --> packbits
User avatar
xnview
Author of XnView
Posts: 34371
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: TIFF compression after rotation

Post by xnview »

See Issue 725 for current status and details.
Pierre.
User avatar
arxiv
Posts: 8
Joined: Wed Oct 14, 2015 1:00 am
Contact:

Re: TIFF compression after rotation

Post by arxiv »

xnview wrote:See Issue 725 for current status and details.
Thank you Pierre.
User avatar
helmut
Posts: 8219
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.72: TIFF compression after rotation

Post by helmut »

This problem is supposed to be fixed in XnView MP 0.76 or later. Could you please try and confirm the bug fix, arxiv?
cday
XnThusiast
Posts: 2641
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: 0.72: TIFF compression after rotation

Post by cday »

helmut wrote:This problem is supposed to be fixed in XnView MP 0.76 or later. Could you please try and confirm the bug fix, arxiv?
I don't think it is fixed yet, I've seen apparent anomalies in file size and compression method more than once recently...

Testing now:

1. Open the attached 1-bit file;

2. Set File > Format settings... > Write tab > TIFF :

Compression black and white -- CCITT G4
and Compression colour -- LZW

Result: file is saved with LZW compression, not CCITT G4 :(

Setting:

Compression black and white -- CCITT G4 ; Compression colour = JPEG

Result is compression CCITT G3 !! :(

Something does seem mixed up! (Other colour compression options not tested.)
1_bit_file.tif
(66.24 KiB) Downloaded 63 times
User avatar
helmut
Posts: 8219
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.72: TIFF compression after rotation

Post by helmut »

I can confirm your observations, cday.

:arrow: Reproduced.
User avatar
xnview
Author of XnView
Posts: 34371
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.72: TIFF compression after rotation

Post by xnview »

O.k., thank you, I can also reproduce the problem. Issue 1149 is fixed in next version.
Pierre.
User avatar
xnview
Author of XnView
Posts: 34371
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.72: TIFF compression after rotation

Post by xnview »

This problem is supposed to be fixed in XnView MP 0.85 beta 1. Please check and confirm the bug fix here.
Pierre.
cday
XnThusiast
Posts: 2641
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: 0.72: TIFF compression after rotation

Post by cday »

Confirmed fixed in 0.85 beta 1 64bits.
User avatar
helmut
Posts: 8219
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.72: TIFF compression after rotation

Post by helmut »

cday wrote:Confirmed fixed in 0.85 beta 1 64bits.
Thank you for checking this, cday. Before moving this to "Tested - Fixed" I'll wait for the feedback of the original poster (arxiv).
User avatar
arxiv
Posts: 8
Joined: Wed Oct 14, 2015 1:00 am
Contact:

Re: 0.72: TIFF compression after rotation

Post by arxiv »

Thank, I tested 0.85b1(64bit) and found this isssue had been fixed.
User avatar
helmut
Posts: 8219
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.72: TIFF compression after rotation

Post by helmut »

arxiv wrote:Thank, I tested 0.85b1(64bit) and found this isssue had been fixed.
Good. Thank you for checking and reporting back, arxiv!
Post Reply