Page 1 of 1

GIF flattening

Posted: Fri Sep 03, 2021 10:03 pm
by xyz
XNView 2.50
Some GIFs displayed as GIF flattened.

Re: GIF flattening

Posted: Sat Sep 04, 2021 7:15 am
by XnTriq
According to XnView, your sample has different DPI values for X and Y (72×18). Adjust zoom if X/Y DPI are different in ToolsSettings…GeneralGeneral usually takes care of that. It makes no sense that the sample file is displayed correctly, if this option is turned off :-?

Re: GIF flattening

Posted: Sat Sep 04, 2021 11:04 am
by xyz
Unchecking this option are fixed problem.

So it's probably a good idea to show a warning to the user or a message in the status bar in this case.
This warning could have a button to invoke the SET DPI dialog box.

Re: GIF flattening

Posted: Sun Sep 05, 2021 9:00 am
by XnTriq
xyz wrote: Sat Sep 04, 2021 11:04 amSo it's probably a good idea to show a warning to the user or a message in the status bar in this case.
Yes, I agree.
xyz wrote: Sat Sep 04, 2021 11:04 amThis warning could have a button to invoke the SET DPI dialog box.
As far as I know, the GIF file format (GIF87a/GIF89a) doesn't support DPI settings.

Re: GIF flattening

Posted: Mon Sep 06, 2021 1:35 am
by xyz
XnTriq wrote: Sun Sep 05, 2021 9:00 am
xyz wrote: Sat Sep 04, 2021 11:04 amThis warning could have a button to invoke the SET DPI dialog box.
As far as I know, the GIF file format (GIF87a/GIF89a) doesn't support DPI settings.
tl;dr, but Change DPI tool work fine with this file

Re: GIF flattening

Posted: Tue Sep 07, 2021 6:45 pm
by XnTriq
xyz wrote: Mon Sep 06, 2021 1:35 amChange DPI tool work fine with this file
Confirmed 8-)