Page 1 of 1

0.72: TIFF compression after rotation

Posted: Wed Oct 14, 2015 1:10 am
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,

Re: TIFF compression after rotation

Posted: Wed Oct 14, 2015 2:51 am
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

Re: TIFF compression after rotation

Posted: Wed Oct 14, 2015 11:17 am
by xnview
See Issue 725 for current status and details.

Re: TIFF compression after rotation

Posted: Wed Oct 14, 2015 2:54 pm
by arxiv
xnview wrote:See Issue 725 for current status and details.
Thank you Pierre.

Re: 0.72: TIFF compression after rotation

Posted: Thu Mar 02, 2017 5:13 pm
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?

Re: 0.72: TIFF compression after rotation

Posted: Thu Mar 02, 2017 7:12 pm
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 119 times

Re: 0.72: TIFF compression after rotation

Posted: Thu Mar 02, 2017 9:00 pm
by helmut
I can confirm your observations, cday.

:arrow: Reproduced.

Re: 0.72: TIFF compression after rotation

Posted: Fri Mar 03, 2017 8:38 am
by xnview
O.k., thank you, I can also reproduce the problem. Issue 1149 is fixed in next version.

Re: 0.72: TIFF compression after rotation

Posted: Thu Mar 16, 2017 8:45 am
by xnview
This problem is supposed to be fixed in XnView MP 0.85 beta 1. Please check and confirm the bug fix here.

Re: 0.72: TIFF compression after rotation

Posted: Thu Mar 16, 2017 8:22 pm
by cday
Confirmed fixed in 0.85 beta 1 64bits.

Re: 0.72: TIFF compression after rotation

Posted: Sat Mar 18, 2017 8:27 am
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).

Re: 0.72: TIFF compression after rotation

Posted: Tue Apr 04, 2017 10:44 am
by arxiv
Thank, I tested 0.85b1(64bit) and found this isssue had been fixed.

Re: 0.72: TIFF compression after rotation

Posted: Wed Apr 05, 2017 8:08 am
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!