Large GIF zooming

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, xnview

Post Reply
Tiffany
Posts: 11
Joined: Wed Jun 12, 2013 8:24 am

Large GIF zooming

Post by Tiffany » Wed Jun 12, 2013 8:28 am

When zooming out of a large GIF or viewing it in a window smaller than its native resolution with fit to window the image gets kinda jagged. Well, here... take a look. I have a comparison between a few different image viewers gif zooming:
Image

For reference or testing purposes, here's the original image (though fair warning, it is not safe for work): http://chan.sankakucomplex.com/post/show/1964154

Also, I should note that I'm on Vista Ultimate x64. The Windows XP Photo & Fax Viewer was added with some reg entries & XP dll's.

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

Re: Large GIF zooming

Post by xnview » Thu Jun 13, 2013 10:46 am

Sorry but i can't reproduce, with last version?
Pierre.

Tiffany
Posts: 11
Joined: Wed Jun 12, 2013 8:24 am

Re: Large GIF zooming

Post by Tiffany » Thu Jun 13, 2013 11:48 am

I only downloaded it that day before posting so I assume the latest possible version. It's 2.0.3.

Here's the exact window size:
Image

Here is my ini file which I have in my XnView folder:

Code: Select all

[AutoCrop]
Tolerance=0

[Browser]
ActionConvert=0
ActionSlide=0
ArrangeBy=7
AutoCollapse=0
AutoPlay=1
BColorFilter01=jpeg, 237 237 202
BColorFilter02=gif, 220 235 220
BColorFilter03=png, 232 222 220
BColorFilter04=bmp, 227 227 255
BColorFilter05=tiff, 192 197 235
BColorFilter06=tga, 230 255 255
BColorFilter07=iff, 247 235 235
BColorFilter08=sgi, 247 237 242
BColorFilter09=pcx, 235 230 230
BColorFilter10=psd, 255 255 227
BColorFilter11=pcd, 235 215 235
BColorFilter12=psp, 237 208 163
BColorFilter13=pict, 202 202 255
BColorFilter14=xpm, 242 227 21
BColorFilter15=xbm, 216 216 216
BColorFilter16=pbm, 191 191 182
BColorFilter17=pgm, 207 207 197
BColorFilter18=ppm, 235 225 159
BColorFilter19=ras, 255 255 227
BColorFilter20=wmf, 187 187 187
BColorFilter21=emf, 212 212 212
BColorFilter22=ico, 217 247 227
BColorFilter23=cur, 217 247 227
BColorFilter24=ani, 217 247 227
BColorFilter25=fpx, 229 255 255
BColorFilter26=jp2, 237 237 202
BackListColor=16777215
BackgroundColor=16777215
BorderColor=0
BorderSize=0
CRAW=1
ClickRename=1
Custom0=<Focal Length>mm f/<F-Number> <Exposure Time>s <ISO Value>iso
Custom1=<Width>x<Height> - <Size KB>
Custom2=
Custom3=
Custom4=
EnableAutoRefresh=1
FilterBy=5
FitVideo=0
FitWindowOption=1
FlatStyle=0
FollowLink=1
FullPreview=0
FullRowSelect=1
Height=1061
HidePreviewScrollBar=0
HighQuality=0
IconHeight=69
IconInfo=268435455
IconWidth=92
LabelsAlignment=1
LabelsSpacing=1
Layout=4
ListHeight=256
ListViewHeight=275
ListViewWidth=425
ListWidth=256
LockLayout=0
NavigateSubFolder=0
OldTreeTab=0
OldValue=0
OneClick=0
OpenAction0=0
OpenAction1=0
OpenAction2=0
OpenAction3=1
OpenAction4=0
OpenAction5=1
OpenAction6=0
PasteOnSubfolder=0
PreviewColor=8421504
PreviewHeight=215
PreviewWidth=0
PrintInfo=0
RecognizeByExt=1
RenameHideExtension=0
RotationKeepDate=1
RotationUseEXIF=0
RotationUseLossless=1
ScanHeaders=0
SelectLastAddedFiles=0
SharpenThumb=0
SharpenValue=50
ShowDesktop=0
ShowDirList=1
ShowFilename=1
ShowGridLines=1
ShowHexaView=0
ShowHiddenFile=0
ShowPreview=1
ShowSmallToolbar=1
ShowTabTree=1
ShowTabView=1
ShowToolTips=1
Spacing=4
StartupDirectory=
StartupIn=1
StatusInfo=0
SyncWithView=1
TabTreeLabel=0
TagSetting=1
TextBackColor=12632256
TextColor=0
Thumb41Folder=1
ThumbConfig=10 5 50
ThumbGamma=1.00
ThumbnailColor=16777215
TimerForPreview=200
TooltipText=<Filename With Ext>, <Size> bytes, <Modified Date>||<Format>||<Width>x<Height>, <BPP> bits
TreeViewHeight=275
TreeViewWidth=200
TxtExt=txt c c++ cc h cpp pas js css php ini
UpdateTreeViewWhenRefresh=1
UseBackgroundColor=0
UseBytes=0
UseColor=1
UseFileDB=1
UseGammaOnThumb=0
UseInch=0
UseRating=1
UseRenameDlg=1
UseShadow=1
UseTag=0
UseThumbnailColor=0
VHidePanel=1
VListLayout=0
VideoFrame=1
VideoPlayBar=1
ViewColumn=255
Viewas=5
Width=694
X=0
Y=0
column0=0
column1=0
column10=0
column11=0
column2=0
column3=0
column4=0
column5=0
column6=0
column7=0
column8=0
column9=0
tcolumn0=0
tcolumn1=0
tcolumn2=0
tcolumn3=0

[Cache]
Compression=1
IsActive=1
MaxDir=99
SavingMode=0

[Canvas]
Alpha=255
KeepRatio=1
Position=4

[Capture]
Area=0
ClientArea=0
Delay=5
Directory=
FormatName=jpeg
HideCursor=1
HideXnView=1
HotKey=9
ImportFormat=1
IncludeCursor=0
Method=0
Multiple=0
Name=capture_[mdY_HMS]
SaveIntoFile=0

[ContactSheet]
BackgroundColor=16777215
Columns=4
Flags=4
FontBold=0
FontHeight=-13
FontItalic=0
FontName=Courier
FootNote=
HeadNote=
Height=1000
MarginHeight=16
MarginWidth=16
Rows=4
SpacingHeight=8
SpacingWidth=8
Text=<Filename>
TextBackgroundColor=16777215
TextColor=0
ThumbnailBackgroundColor=12632256
Width=1000

[File]
ConfirmFileDelete=1
CopyCompanionFile=0
CopyTo=
DeleteRecycleBin=1
DirName_0=
DirName_1=
DirName_2=
DirName_3=
DirName_4=
DirName_5=
DirName_6=
DirName_7=
DirName_8=
DirName_9=
KeepDate=0
LosslessBak=1
MoveTo=
PasteNoCopy=0

[FileSelector]
IncludeSubDirectories=0

[Full]
BackColor=0
DualMStretch=0
DualMUse=1
Fit=0
HidePlayBar=0
HideScrollBar=1
SizeDelay=2048
UseDelay=1

[Fullscreen]
FontBold=0
FontCharSet=1
FontHeight=-13
FontItalic=0
FontName=Courier
IsTransparent=1
Opacity=255
Position=0
TextBackColor=0
TextColor=16777215

[Install]
ViewAsName=1

[Load]
CRAWAutoBalance=0
CRAWBlueScaling=1.00
CRAWBrightness=0.80
CRAWCameraAutoBright=1
CRAWCameraBalance=1
CRAWGamma=0.60
CRAWHighResolution=1
CRAWRedScaling=1.00
ChannelOrder=0
ChannelType=0
DjVuMaxDpi=0
Dpx32Pack=0
EXIFDpi=0
EXIFRotate=1
ExrGamma=1.00
GrobBpp=0
HdrGamma=1.00
Height=256
ICCDef=0
ICCDefProfileName=
ICCFlags=0
ICCProfile=0
ICCProfileName=
IcoIn32bits=1
IgnoreError=0
Lut10to8Name=
Offset=0
PcdBase=2
PddPage=0
PngComposeWithAlpha=0
PngComposeWithTransparency=0
PostscriptDpi=72
PostscriptPageSize=0
Preview=1
RawBpp=24
UseEPSCIE=0
UseEmbeddedThumbnail=1
UseLut=0
UseOrgIfSmall=0
WMFHighResolution=0
Width=256
YuvHeight=576
YuvOffset=0
YuvWidth=720

[OpenWith]
OpenWith_0=

[Player]
SoundOn=1
Volume=100

[Plugins]
0=Xbmf.dll|262|bmf|BMF|bmf;
1=Xcompound.dll|276|max|3DS Max thumbnail|max;
10=Xjng.dll|261|mng2|Multiple Network Graphics|mng;
11=Xjp2.dll|773|jp2|JPEG-2000 JP2 File Format|jp2;j2k;jpx;jpf;
12=Xjp2.dll|773|jpc|JPEG-2000 Code Stream|jpc;
13=XMrSid.dll|276|sid|MrSid|sid;
14=Xp2.dll|263|p2|Pic2|p2;
15=Xpax.dll|262|pax|PAX|pax;
16=Xpwc.dll|263|pwc|Fast Piecewise-constant|pwc;
17=Xsff.dll|261|sff|Structured Fax Format|sff;
18=Xwhypic.dll|262|ypc|Whypic|ypc;
19=Xwic.dll|774|wic|J Wavelet Image Codec|wic;
2=Xcompound.dll|276|mic|Microsoft Image Composer|mic;
20=Xwlm.dll|774|wlm|CompW|wlm;
21=Xwmp.dll|772|wmp|HD Photo|wdp;hdp;
22=Xwsq.dll|262|wsq|WSQ|wsq;
3=Xcompound.dll|276|mix|Picture It!|mix;
4=Xeri.dll|263|eri|ERI-chan (Entis Rasterized Image)|eri;
5=Xfif.dll|263|fif|FIF (Iterated System)|fif;
6=Xfpx.dll|788|fpx|FlashPix Format|fpx;
7=Xiwc.dll|773|iwc|WaveL|iwc;
8=Xjbig.dll|772|jbig|JBIG|jbg;bie;jbig;
9=Xjng.dll|261|jng|Jpeg Network Graphics|jng;
Nb=23

[Process]
AutoView=0
Deinterlace=0
FilterAutoView=0
LastValue_0=-255
LastValue_1=-255
LastValue_10=-255
LastValue_11=-255
LastValue_12=-255
LastValue_13=-255
LastValue_14=-255
LastValue_15=-255
LastValue_16=-255
LastValue_17=-255
LastValue_18=-255
LastValue_19=-255
LastValue_2=-255
LastValue_20=-255
LastValue_21=-255
LastValue_22=-255
LastValue_23=-255
LastValue_24=-255
LastValue_25=-255
LastValue_26=-255
LastValue_27=-255
LastValue_28=-255
LastValue_29=-255
LastValue_3=-255
LastValue_30=-255
LastValue_31=-255
LastValue_32=-255
LastValue_33=-255
LastValue_34=-255
LastValue_35=-255
LastValue_36=-255
LastValue_37=-255
LastValue_38=-255
LastValue_39=-255
LastValue_4=-255
LastValue_40=-255
LastValue_41=-255
LastValue_42=-255
LastValue_43=-255
LastValue_44=-255
LastValue_5=-255
LastValue_6=-255
LastValue_7=-255
LastValue_8=-255
LastValue_9=-255
ShowPreview=1

[Resize]
DpiUnit=0
KeepDocSize=0
KeepRatio=1
PrintUnit=1
Resample=7
Unit=1
UseResample=1

[Save]
AddExtensionIfNotExist=1
BmpCompress=0
ChannelOrder=0
ChannelType=0
DefaultFormat=jpeg
DpxIn10Bits=0
DpxMSBF=0
EcwTargetRatio=20
FpxQuality=100
Gif87aHeader=0
GifInterlaced=0
GifTransparentIndex=0
GifUseTransparentIndex=0
Hp49Header=0
IffCompress=0
IwcQuality=100
Jpeg2000FileSize=100
Jpeg2000Mode=1
Jpeg2000Quality=80
Jpeg2000Ratio=10
JpegDCTMethod=0
JpegKeepEXIF=1
JpegKeepICC=1
JpegKeepIPTC=1
JpegKeepXMP=0
JpegProgressive=0
JpegQuality=80
JpegRebuildThumb=1
JpegSmoothFactor=0
JpegSubSampling=0
JpegXRColor=0
JpegXRFilter=1
JpegXRQuality=100
KeepOrgDate=0
LdfAddThumbnail=1
LdfQuality=1
LdfjpmBackFactors=1
LdfjpmBitonalCoder=2
LdfjpmForeFactors=1
LdfjpmQuality=8
Lut8to10Name=
LwfCompression=0
LwfJp2Compression=0
LwfJp2Rate=10
LwfJp2Size=4096
LwfMode=0
LwfQuality=70
LwfRate=10
LwfSize=1024
Offset=0
OptimizeHuffmanTable=0
Os2Header=0
PcxCompress=0
PdfCompress=4
PdfJpegQuality=80
PngCompressionLevel=6
PngInterlaced=0
PngTransparentIndex=0
PngUseTransparentIndex=0
PpmAscii=0
RemoveAlpha=0
RgbCompress=1
SoftCompress=1
TgaCompress=0
TgaOrigin=0
Tiff1Strip=0
TiffBinaryCompress=0
TiffCompress=0
TiffJpegQuality=80
UseLut=0
UseOrgJPEGQuality=0
WMPQuality=100
WebPQuality=100
WicQuality=100
WlmFactor=1

[Scr]
PlayMode=0
WindowHeight=480
WindowWidth=640

[Slide]
AddRecurse=1
AudioLoop=0
BackgroundColor=0
Center=1
EffectFlag=1
EffectMask=268435455
FitSmall=0
FitSmallVideo=0
FontBold=0
FontCharSet=1
FontHeight=-13
FontItalic=0
FontName=Courier
Frame=1
Full=1
HighQuality=1
IsTransparent=1
Loop=1
MouseNav=0
NoError=0
NoTitle=1
OnTop=0
Opacity=255
PlayMode=0
Position=0
Random=0
SLDRelativePathname=0
ShowText=1
SortOrder=0
SoundFilename=
Text=<Directory><Filename>
TextBackColor=0
TextColor=16777215
Timer=5.00
UseGammaInEXE=1
UseSound=0
UseTimer=1
Watch=0
WinHeight=480
WinWidth=640

[Start]
AllFormats=0
AlwaysOnTop=0
BStatusBar=1
BToolBar=1
BarFilename=
CColor-0=0
CColor-1=0
CColor-10=0
CColor-11=0
CColor-12=0
CColor-13=0
CColor-14=0
CColor-15=0
CColor-2=0
CColor-3=0
CColor-4=0
CColor-5=0
CColor-6=0
CColor-7=0
CColor-8=0
CColor-9=0
CheckUpdate=0
Custom1Extensions=HTM HTML MHT MHTML XML XHTML EML NWS URL
Custom2Extensions=
CustomIniPathFolder=
DirName_0=
DirName_1=
DirName_2=
DirName_3=
DirName_4=
DirName_5=
DirName_6=
DirName_7=
DirName_8=
DirName_9=
ENTER=1
FileName_0=C:\Users\Jen\Pictures\Anime\aki sora\akisora-action-by-kuroda-kazuya.jpg
FileName_1=C:\Users\Jen\Pictures\Anime\Bible Black\Reika Kitami Art\637546.jpg
FileName_2=C:\Users\Jen\Pictures\Anime\Bible Black\Reika Kitami Art\593479.jpg
FileName_3=C:\Users\Jen\Pictures\Anime\Bible Black\Reika Kitami Art\593477.jpg
FileName_4=C:\Users\Jen\Pictures\waifu list\art\Reika Kitami\1388590.jpg
FileName_5=C:\Users\Jen\Pictures\Anime\Bible Black\Reika Kitami Art\1506991.png
FileName_6=C:\Users\Jen\Pictures\Anime\Bible Black\Reika Kitami Art\964651.gif
FileName_7=C:\Users\Jen\Pictures\Anime\Bible Black\Reika Kitami Art\1494695.gif
FileName_8=C:\Users\Jen\Pictures\Anime\Bible Black\Reika Kitami Art\1726795.jpg
FileName_9=C:\Users\Jen\Pictures\Anime\Bible Black\Reika Kitami Art\2021732.jpg
Filter0=639
Filter1=895
Filter2=589
Filter3=287
FlatButtonInToolbar=1
Height=1061
InFullscreen=0
LMB=1
Language=en
LastCheck=0
LaunchBrowserAtStartup=1
MMB=0
MaxFilesize0=99999999
MaxFilesize1=99999999
Maxi=0
MaximizeXnviewAtStartup=0
MenuUseExit=0
Only1ESC=1
OnlyOneInstance=1
OpenAll=1
ParamsSavingMode=0
PathAvi=
PathBrowse=
PathCache=
PathConvertSave=
PathLoad=
PathPalette=
PathSave=
PathSaveAll=
PathScript=
PathSlide=
PathSlideScript=
PurgeMostRecentlyUsed=0
SaveAsUseNewName=1
SavePosition=1
SavedFileType=:gif:jpeg:png:tiff:bmp:emf:pcx:
SavingMode=1
SelectedShowAgain=0
ShowAgain=268435455
ShowOtherApps=1
ShowSaveDlg=0
ShowTextInToolbar=0
ShowToolTipsInToolbar=1
TabBar=0
TabBarCfg=1
TabBarDefault=0
TabBarMaxChar=32
TagShowFlags=0
ToolbarBrowserConfig=-1
ToolbarBrowserConfigHigh=-1
ToolbarName=
ToolbarViewConfig=-1
ToolbarViewConfigHigh=-1
UseDifferentPosition=0
UseExtendedMenu=0
UseMostRecentlyUsedFiles=1
UseNewMRUF=1
UseSameAsOrg=0
UseSavedPath=0
VStatusBar=0
VToolBar=0
Version=201
ViewHeight=1061
ViewMaxi=0
ViewWidth=694
ViewX=1228
ViewY=-1
Width=694
X=1228
Y=-1

[VideoCapture]
Area=0
ClientArea=0
Directory=
EndDelay=5
EndDelayUse=0
Handler=1668707181
HideCursor=1
HideXnView=1
HighlightCursor=0
HotKey=9
IncludeClick=0
IncludeCursor=0
Name=capture_[mdY_HMS]
OpenXnview=0
Quality=75
StartDelay=2
StartDelayUse=0

[View]
AppFitToImage=0
BackColor=0
BackgroundColor=15921906
CRAW=0
CacheBehind=0
ColorInfo=0
CopyClipboard=0
DeleteGoNext=1
DirKeyFlag=0
DirKeyVFlag=0
DisableGifAnimation=0
EnableBmpAnimation=0
Fit=3
Gamma=1.00
GridColor=255
GridSize=2
GridSpacingX=80
GridSpacingY=80
GridType=1
HideScrollBar=0
HighZoomQuality=1
IgnoreAlpha=0
ImageLoop=0
KeepGridForNextPrevious=0
LeftButtonFlag=1
LockZoom=0
MouseNavigation=0
MultipageView=0
NoMultipleView=1
OneViewMultiple=1
OnlyOneView=1
OpenHexaViewIfNotPicture=0
PlayMovie=0
PlaySound=0
ReadAhead=1
ResetXY=0
RightButtonFlag=0
ScrollVal=10
ShowColorInfo=0
ShowText=1
SlideDelay=1000
SlideDirection=0
SlideLoop=1
SpaceKeyFlag=0
StatusInfo=0
TTitle=<Filename With Ext>
Text=<Directory><Filename>||Tag: <Tag status>
UnitsSize=0
UseAlpha=1
UseBgImg=0
UseDPIRatio=1
UseGamma=0
UseTranspIndex=1
UseUndo=1
UseZoomStep=0
UserSelHeight=0
UserSelRatioX=0
UserSelRatioY=0
UserSelWidth=0
UserSelXdpi=0
UserSelYdpi=0
VideoFitAll=0
VideoLoop=0
VideoPlayBar=1
WheelMouseFlag=2
ZoomFStep=10
ZoomRStep=1.41

If there's any other information you think could be useful just ask.

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

Re: Large GIF zooming

Post by xnview » Thu Jun 13, 2013 1:58 pm

Do you have enabled View>high zoom quality - reduce?
Pierre.

Tiffany
Posts: 11
Joined: Wed Jun 12, 2013 8:24 am

Re: Large GIF zooming

Post by Tiffany » Thu Jun 13, 2013 2:11 pm

Yeah I do but it doesn't affect it at all for the gif.

If I uncheck it then I get a shoddy zoom for other unanimated big pictures:
Image

Since the jagged effect is similar might I suggest that the bug may possibly be that for some reason high quality zoom reduce just isn't working for gifs?

User avatar
DOS386
Posts: 291
Joined: Sun Jun 11, 2006 2:43 pm

Re: Large GIF zooming

Post by DOS386 » Sat Jun 15, 2013 9:29 am

Tiffany wrote:When zooming out of a large GIF or viewing it in a window smaller than its native resolution with fit to window the image gets kinda jagged
Tiffany wrote:though fair warning, it is not safe for work
No BUG and no need to share porn stuff :-) ... let me guess that the high quality ZOOM is deliberately NOT done for animated (and only huge?) pictures for good reasons?
There is indeed no WinZIP under my rock.

Tiffany
Posts: 11
Joined: Wed Jun 12, 2013 8:24 am

Re: Large GIF zooming

Post by Tiffany » Sat Jun 22, 2013 2:36 pm

Is there anything else you need to know?

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

Re: Large GIF zooming

Post by xnview » Sun Jun 23, 2013 3:09 am

Tiffany wrote:Is there anything else you need to know?
do you have the problem only with GIF?
Pierre.

Tiffany
Posts: 11
Joined: Wed Jun 12, 2013 8:24 am

Re: Large GIF zooming

Post by Tiffany » Sun Jun 23, 2013 3:39 am

xnview wrote:
Tiffany wrote:Is there anything else you need to know?
do you have the problem only with GIF?
Only with animated gifs. Gifs without animation look just fine. It appears to be an issue with animation in general as I've just tested using an animated png and I get the same result as an animated gif. I just ran the gif in my opening post through gif2apng for an easy test.

So, it turns out that the problem is animated files. I tested opening an mkv with xnview but it's using video codecs rather than the same method of display, so unaffected.

I suspect other animated files (e.g. animated non-video formats) will likely also have the same problem. I found that the easiest images to test with are anime style animations since their small crisp lines easily break when resized without anti-aliasing of some sort I presume.

Tiffany
Posts: 11
Joined: Wed Jun 12, 2013 8:24 am

Re: Large GIF zooming

Post by Tiffany » Thu Oct 24, 2013 6:14 pm

So is there any word on this? Is it not reproduceable or what? Is it something limited to me?

I'm on Vista Ultimate x64. I don't think that'd have anything to do with it but if there's anything that would cause only my image viewers to not display resized gifs I'd like to know. If it were widespread surely there would have been others complaining by now...

anonymous_user
Posts: 15
Joined: Tue Dec 13, 2011 2:37 am

Re: Large GIF zooming

Post by anonymous_user » Sat Oct 26, 2013 3:09 pm

I can reproduce it but am not a XnView developer...

MaxSt
Posts: 133
Joined: Fri Apr 10, 2009 9:55 pm

Re: Large GIF zooming

Post by MaxSt » Sat Nov 02, 2013 10:20 am


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

Re: Large GIF zooming

Post by xnview » Sat Nov 02, 2013 1:56 pm

Ok, right. Smooth display for animated GIF is disabled, because can be long.
So perhaps i can add a settings to enable it??
Pierre.

Tiffany
Posts: 11
Joined: Wed Jun 12, 2013 8:24 am

Re: Large GIF zooming

Post by Tiffany » Sat Nov 02, 2013 5:37 pm

xnview wrote:Ok, right. Smooth display for animated GIF is disabled, because can be long.
So perhaps i can add a settings to enable it??
Yes, I think that would be best.

Post Reply