Effect Corrupts Jpeg File

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

Moderators: helmut, XnTriq, xnview

User avatar
Brother Gabriel-Marie
Posts: 286
Joined: Thu Aug 23, 2007 2:33 pm
Location: United States

Effect Corrupts Jpeg File

Post by Brother Gabriel-Marie »

Here is a bug that I can repeat over and over.
Version 2.35 (Jan 4, 2016).

Find a jpeg file.
Open to view mode.
Edit the saturation - I set it to 0 in order to have RGB files in grey without having greyscale.

Now double-click to switch from file view to browser mode (without saving - I have my settings set to auto-save).
This corrupts the file.
To fix it, I view the image file in Imagine (which can read this file when XnView cannot!) and re-save it there.
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Effect Corrupts Jpeg File

Post by XnTriq »

Could you please explain what you mean by “auto-save”, Br. Gabriel-Marie?
User avatar
Brother Gabriel-Marie
Posts: 286
Joined: Thu Aug 23, 2007 2:33 pm
Location: United States

Re: Effect Corrupts Jpeg File

Post by Brother Gabriel-Marie »

I have it set so there is no confirmation to save when you change from one file to the next.
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Effect Corrupts Jpeg File

Post by XnTriq »

Did you (manually) edit xnview.ini to avoid the “do you want to overwrite” window?
User avatar
Brother Gabriel-Marie
Posts: 286
Joined: Thu Aug 23, 2007 2:33 pm
Location: United States

Re: Effect Corrupts Jpeg File

Post by Brother Gabriel-Marie »

Yes; in one of the forum threads y'all told me what setting to add, but it's been so long I can't remember now. I've been using XnView for years.
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Effect Corrupts Jpeg File

Post by XnTriq »

Sorry for the delay.

Could you remove all sensitive information (i.e. file paths) from your xnview.ini and send me the contents via PM as code? I'd like to help narrow down the cause for this critical bug, but XnView keeps asking: “Do you want to overwrite” :x
User avatar
Brother Gabriel-Marie
Posts: 286
Joined: Thu Aug 23, 2007 2:33 pm
Location: United States

Re: Effect Corrupts Jpeg File

Post by Brother Gabriel-Marie »

User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Effect Corrupts Jpeg File

Post by XnTriq »

Ah, them good ol' days… :mrgreen:
Brother Gabriel-Marie wrote:Certainly! It's attached.
Did you try to attach it to your post?
FYI: Text files like xnview.ini have to be compressed (7-Zip or RAR or ZIP) before you can upload them to the forum. As an alternative, you can post the contents formatted as code, like so:

Code: Select all

[8bf]
default=Demultiply
path_0=C:\Program Files\XnView\8bf\
path_1=C:\Program Files\Common Files\PlugIns\

[AdjustDlg]
geometryH=566
geometryW=596
geometryX=0
geometryY=0

[AutoCrop]
Tolerance=0
User avatar
Brother Gabriel-Marie
Posts: 286
Joined: Thu Aug 23, 2007 2:33 pm
Location: United States

Re: Effect Corrupts Jpeg File

Post by Brother Gabriel-Marie »

Oh, I'm sorry! I'm not intentionally trying to string this out!
Yes, I did attach it and it didn't even complain.

It wouldn't take a .txt file either.

Anyway, here it is:

Code: Select all

[8bf]
default=AAA Blender...
path_0=
path_1=
path_2=

[AdjustDlg]
geometryH=498
geometryW=449
geometryX=1276
geometryY=325

[AutoCrop]
Tolerance=2

[Browser]
ActionConvert=0
ActionSlide=0
ArrangeBy=0
AutoCollapse=0
AutoPlay=0
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=9803157
BackgroundColor=9803157
BorderColor=8487297
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
ExifDateSort=0
FilterBy=4
FitVideo=0
FitWindowOption=2
FlatStyle=0
FollowLink=1
FullPreview=0
FullRowSelect=1
Height=1008
HidePreviewScrollBar=1
HighQuality=1
IconHeight=156
IconInfo=5936
IconWidth=156
InfoO-0=1
InfoO-1=1
InfoO-10=1
InfoO-11=1
InfoO-12=1
InfoO-13=1
InfoO-14=1
InfoO-2=1
InfoO-3=1
InfoO-4=1
InfoO-5=1
InfoO-6=1
InfoO-7=1
InfoO-8=1
InfoO-9=1
LabelsAlignment=1
LabelsSpacing=1
Layout=3
ListHeight=-10
ListViewHeight=981
ListViewWidth=1599
ListWidth=36
LockLayout=0
NavigateSubFolder=0
OldTreeTab=1
OldValue=0
OneClick=1
OpenAction0=0
OpenAction1=1
OpenAction2=1
OpenAction3=1
OpenAction4=0
OpenAction5=0
OpenAction6=0
PasteOnSubfolder=1
PreviewColor=9539985
PreviewHeight=394
PreviewWidth=0
PrintInfo=2
RecognizeByExt=0
RenameHideExtension=0
RotationKeepData=1
RotationKeepDate=1
RotationUseEXIF=0
RotationUseLossless=1
ScanHeaders=2
SelectLastAddedFiles=1
SharpenThumb=0
SharpenValue=50
ShowDesktop=0
ShowDirList=1
ShowFilename=0
ShowGridLines=0
ShowHexaView=0
ShowHiddenFile=0
ShowPreview=1
ShowSmallToolbar=1
ShowTabTree=1
ShowTabView=1
ShowToolTips=0
Spacing=4
StartupDirectory=K:\Images\
StartupIn=2
StatusInfo=0
SyncWithView=1
TabTreeLabel=0
TagSetting=0
TextBackColor=9803157
TextColor=0
Thumb41Folder=0
ThumbConfig=11 5 50 6 
ThumbGamma=1.00
ThumbnailColor=8355711
TimerForPreview=200
TooltipText=<Filename With Ext>, <Size> bytes, <Modified Date>||<Format>||<Width>x<Height>, <BPP> bits
TreeViewHeight=581
TreeViewWidth=278
TxtExt=txt c c++ cc h cpp pas js css php ini
UpdateTreeViewWhenRefresh=1
UseBackgroundColor=1
UseBytes=0
UseColor=0
UseFileDB=1
UseGammaOnThumb=0
UseInch=1
UseRating=0
UseRenameDlg=1
UseShadow=0
UseTag=1
UseThumbnailColor=0
VHidePanel=1
VListLayout=0
VideoFrame=1
VideoPlayBar=1
ViewColumn=1151
Viewas=5
Width=1891
X=0
Y=0
column0=304
column1=72
column10=64
column11=0
column2=120
column3=240
column4=104
column5=384
column6=384
column7=0
column8=0
column9=0
tcolumn0=205
tcolumn1=120
tcolumn2=384
tcolumn3=384

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

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

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

[Colors]
Auto=1
Count=3
Dither=0
Libquant=1

[Comment]
UseSame=1
com=1
desc=1

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

[Convert]
Action=0
CloseDlg=1
DefaultFormat=png
DeleteOriginal=0
HideError=0
KeepFormat=1
KeepOriginalDate=1
KeepSubFolder=0
Overwrite=3
UseOrgPath=1
history-0=
history-1=
history-2=

[DPI]
Exif=1

[Email]
Body=Here you go
CHeight=768
CWidth=1024
DelMeta=1
Quality=80
Recipient_0=
Recipient_1=Louis
Recipient_2=mom
Recipient_3=
Recipient_4=
Recipient_5=
Recipient_6=
Recipient_7=
Recipient_8=
Recipient_9=
Size=0
Subject=St. Margaret Mary Alacoque
UseJpeg=1

[ExConvert]
AutoRefresh=1
BmpOs2=0
BmpRle=0
ColorMode=22
Format=2
Gif87=0
GifInterlaced=0
Jpeg2000FileSize=100
Jpeg2000Mode=0
Jpeg2000Quality=70
Jpeg2000Ratio=20
JpegDCTMethod=0
JpegOptimizeHuffmanTable=0
JpegProgressive=0
JpegQuality=100
JpegRemoveMetadata=0
JpegSmoothFactor=0
JpegSubSampling=0
PcxRle=0
PngCompressionLevel=7
PngFilter=0
PngInterlaced=0
TgaRle=0
TiffBinaryCompression=0
TiffCompression=0

[File]
ConfirmFileDelete=0
CopyCompanionFile=1
CopyTo=C:\myfolder\Images\Contact Sheet\
DeleteRecycleBin=1
DirName_0=
DirName_1=
DirName_2=
DirName_3=
DirName_4=
DirName_5=
DirName_6=
DirName_7=
DirName_8=
DirName_9=
KeepDate=1
LosslessBak=0
MoveTo=
PasteNoCopy=1

[FileSelector]
IncludeSubDirectories=0

[Full]
BackColor=0
DualMStretch=0
DualMUse=1
Fit=0
HidePlayBar=0
HideScrollBar=1
LockZoom=0
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

[Html]
CopySourceFilename=1
Format=1
Header=Chalice 5
InterlacedGif=1
LaunchWebBrowser=1
MaxHeight=700
MaxSize=1
MaxWidth=700
NoHTMLPage=0
OrgF=original
OutputDirectory=
Prefix=t_
ProgressiveJpeg=0
QualityJpeg=90
Sharpen=1
ShowInfos=0
Sort=0
TableColumns=4
Template=sspxusaSHOP
TemplateDir=C:\Program Files\XnView\WebTemplate\
Text=<Filename>
ThumbF=thumb
ThumbHeight=200
ThumbWidth=200
Title=Regina Coeli House Shoppe
UseJPEG=0
UseOriginalIfSmaller=1

[Install]
ViewAsName=0

[Iptc]
Combine=0
KeepDate=1
Leave=1
Merge=1
Replace=0
UpdateXMP=1

[JpegTrnfm]
KeepDate=0
ResetOrientation=1
Trim=1

[List]
Clipboard=0
Date=
ExifDate=
Flags=250
Path=0
Recurse=0
Size=0

[Load]
CRAWAutoBalance=0
CRAWBlueScaling=1.00
CRAWBrightness=0.80
CRAWCameraAutoBright=1
CRAWCameraBalance=1
CRAWGamma=0.60
CRAWHighResolution=0
CRAWRedScaling=1.00
ChannelOrder=0
ChannelType=1
DjVuMaxDpi=0
Dpx32Pack=0
EXIFDpi=0
EXIFRotate=0
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=300
PostscriptPageSize=0
Preview=1
RawBpp=24
UseEPSCIE=0
UseEmbeddedThumbnail=1
UseLut=0
UseOrgIfSmall=0
WMFHighResolution=1
Width=256
YuvHeight=576
YuvOffset=0
YuvWidth=720

[MultFile]
All=0
Directory=
FileName=image
Format=0

[OpenWith]
OpenWith_0=
OpenWith_1=
OpenWith_2=
OpenWith_3=
OpenWith_4=
OpenWith_5=

[Pan]
BColor=0
Center=0
HOrientation=1
Height=0
Orientation=0
Rand=0
Resize=1
RowCount=8
Unit=0
VOrientation=1
Width=0
XSpacing=0
YSpacing=2

[Player]
SoundOn=1
Volume=100

[Plugins]
0=Xbmf.dll|262|bmf|BMF|bmf;
1=Xcompound.dll|276|max|3DS Max thumbnail|max;
10=Xjbig.dll|772|jbig|JBIG|jbg;bie;jbig;
11=Xjng.dll|261|jng|Jpeg Network Graphics|jng;
12=Xjng.dll|261|mng2|Multiple Network Graphics|mng;
13=Xjp2.dll|773|jp2|JPEG-2000 JP2 File Format|jp2;j2k;jpx;jpf;
14=Xjp2.dll|773|jpc|JPEG-2000 Code Stream|jpc;
15=Xjpegls.dll|262|jls|JPEG-LS|jls;
16=XMrSid.dll|276|sid|MrSid|sid;
17=Xp2.dll|263|p2|Pic2|p2;
18=Xpax.dll|262|pax|PAX|pax;
19=Xpwc.dll|263|pwc|Fast Piecewise-constant|pwc;
2=Xcompound.dll|276|mic|Microsoft Image Composer|mic;
20=Xsff.dll|261|sff|Structured Fax Format|sff;
21=Xswf.usr|298|user|Shockwave Flash|swf;
22=Xwhypic.dll|262|ypc|Whypic|ypc;
23=Xwic.dll|774|wic|J Wavelet Image Codec|wic;
24=Xwlm.dll|774|wlm|CompW|wlm;
25=Xwmp.dll|772|wmp|HD Photo|wdp;hdp;
26=Xwsq.dll|262|wsq|WSQ|wsq;
27=Xbsb.dll|294|kap|BSB/KAP|kap;
28=Xdjvu.dll|308|djvu|DjVu|djvu;djv;iw4;
29=Xecw.dll|807|ecw|Enhanced Compressed Wavelet|ecw;
3=Xcompound.dll|276|mix|Picture It!|mix;
30=Xwsq.dll|262|wsq|WSQ|wsq;
4=xemfpcl.usr|298|user|NT EMF plugin|spl;prn;pcl;hpgl;plt;
5=Xeri.dll|263|eri|ERI-chan (Entis Rasterized Image)|eri;
6=Xfif.dll|263|fif|FIF (Iterated System)|fif;
7=Xfpx.dll|788|fpx|FlashPix Format|fpx;
8=Xhtml.usr|298|user|Windows Shell HTML Thumbnails|mht;mhtml;html;htm;eml;nws;shtml;phtml;url;
9=Xiwc.dll|773|iwc|WaveL|iwc;
Nb=27

[Print]
AllPages=0
AutoRotate=0
BottomMargin=0.30
CType=2
Columns=1
EFontBold=0
EFontHeight=10
EFontItalic=0
EFontName=Courier
ETextColor=0
FText=Page <Page Number>/<Page Count>
First=1
FontBold=0
FontHeight=10
FontItalic=0
FontName=Arial
Gamma=0.70
HText=
Height=2.00
HoriSpacing=0.30
JobPerPage=0
KeepRatio=1
Last=1
LeftMargin=0.30
Multiple=0
Option=6
Position=4
RightMargin=0.30
Rows=2
Text=
TextColor=0
TextPosition=0
TextUse=0
TopMargin=0.30
Units=1
UseFooter=0
UseHeader=0
VertSpacing=0.10
WFontBold=0
WFontHeight=10
WFontItalic=0
WFontName=Courier
WFontOrientation=0
WOrientation=0
WText=
WTextColor=0
WTextPosition=0
WUse=0
Width=50.00
XScale=1.50
YScale=1.50

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

[Rename]
CaseFlag=4
Extension=jpg
RCase=0
Replace=" copy"
Start=1
Step=1
TCreate=0
Template0=camp###
Template1=stations
Template10=Apostles_medallion
Template11=houseChalice2-#
Template12=houseChalice1-#
Template13=705-#
Template14=704-#
Template15=703-#
Template16=716-#
Template17=
Template18=<Filename>g#
Template19=Jerry#
Template2=altarfront
Template3=altar
Template4=MO-<Filename>
Template5=WV-<Filename>
Template6=MN-<Filename>
Template7=draco
Template8=
Template9=auction
UseCase=1
UseExtension=0
UseReplace=0
UseTemplate=1
With="g" 
added=0
numbers=1
suffix=_##

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

[Rotate]
Auto=1
AutoCrop=1
Grid=0
Smooth=1

[Save]
AddExtensionIfNotExist=1
BmpCompress=0
ChannelOrder=0
ChannelType=1
DefaultFormat=tiff
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=2
JpegKeepEXIF=1
JpegKeepICC=1
JpegKeepIPTC=1
JpegKeepXMP=0
JpegProgressive=0
JpegQuality=100
JpegRebuildThumb=1
JpegSmoothFactor=0
JpegSubSampling=0
JpegXRColor=0
JpegXRFilter=1
JpegXRQuality=100
KeepOrgDate=1
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=1
Os2Header=1
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=2
TiffCompress=2
TiffJpegQuality=80
UseLut=0
UseOrgJPEGQuality=1
WMPQuality=100
WebPQuality=100
WicQuality=100
WlmFactor=1

[Scan]
Digit=1
Directory=
FileName=Las Vegas 
FormatName=jpeg
Multi=0
Page=0
StartIndex=1
Subfolder=0

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

[Search]
AllType=0
AllWord=
CommentType=0
CommentWord=
DescType=0
DescriptionWord=
Directory=K:\Photography\Folks\
ExifField=0
ExifWord=
FileSize=0
FileSizeFlags=0
FileSizeUnit=1
Flags=0
FormatName=graphic
Height=1024
HeightFlags=0
IptcField=0
IptcType=0
IptcWord=
Patt_0=them
Patt_1=document*
Patt_2=tuart
Patt_3=tuar
Patt_4=crecy
Width=1024
WidthFlags=0
Word=

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

[Start]
AllFormats=1
AlwaysOnTop=0
BStatusBar=1
BToolBar=1
BarFilename=C:\Users\me\AppData\Roaming\XnView\foo.bar
CColor-0=16777215
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=2
CnvLocalSettings=1
Custom1Extensions=HTM HTML MHT MHTML XML XHTML EML NWS URL SVG ICO
Custom2Extensions=indd zip
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=
FileName_1=
FileName_2=
FileName_3=
FileName_4=
FileName_5=
FileName_6=
FileName_7=
FileName_8=
FileName_9=
Filter0=895
Filter1=1023
Filter2=860
Filter3=797
FlatButtonInToolbar=0
Height=1080
InFullscreen=0
LMB=1
Language=en
LastCheck=24252127
LaunchBrowserAtStartup=1
LaunchTimes=32
MMB=0
MaxFilesize0=999999
MaxFilesize1=999999
Maxi=1
MaximizeXnviewAtStartup=1
MenuUseExit=0
Only1ESC=0
OnlyOneInstance=0
OpenAll=1
ParamsSavingMode=0
PathAvi=
PathBrowse=
PathCache=
PathConvertSave=
PathExport=
PathLoad=
PathPalette=
PathSave=
PathSaveAll=
PathScript=
PathSlide=
PathSlideScript=
PurgeMostRecentlyUsed=0
SaveAdvDlg=1 
SaveAsUseNewName=1
SavePosition=1
SavedFileType=:gif:jpeg:tiff:png:bmp:emf:pdf:
SavingMode=0
SelectedShowAgain=1
ShowAgain=268171860
ShowOtherApps=0
ShowSaveDlg=129
ShowTextInToolbar=0
ShowToolTipsInToolbar=1
TabBar=0
TabBarCfg=2
TabBarDefault=0
TabBarMaxChar=32
TagShowAgain=268435455
TagShowFlags=0
ToolbarBrowserConfig=-1
ToolbarBrowserConfigHigh=-1
ToolbarName=BGM
ToolbarViewConfig=-1
ToolbarViewConfigHigh=-1
UseDifferentPosition=0
UseExtendedMenu=1
UseMostRecentlyUsedFiles=1
UseNewMRUF=1
UseSameAsOrg=1
UseSavedPath=0
VStatusBar=1
VToolBar=1
Version=235
ViewHeight=1080
ViewMaxi=1
ViewWidth=1883
ViewX=1957
ViewY=0
Width=1883
X=1957
Y=0

[Text]
Alignment=0
BackgroundColor=16777215
CharSet=electedShowAgain=1
FontName=Times New Roman
FontOutlined=1
IsTransparent=0
Opacity=84
OutlineColor=16777215
ShowAgain=268172118
c=0
String=Bob
TextColor=128

[TimeStamp]
date1=1
date2=1
date3=1
date4=1
date5=1
day=0
exif=0
flag=2
op=1
time=0:0:0

[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]
AnimatedZoomQuality=0
AppFitToImage=0
BackColor=16777215
BackKeyFlag=1
BackgroundColor=8421504
CRAW=2
CacheBehind=1
CheckerColor1=8947848
CheckerColor2=8421504
CheckerSize=8
ColorInfo=0
CopyClipboard=0
DeleteGoNext=1
DirKeyFlag=0
DirKeyVFlag=2
DisableGifAnimation=0
EnableBmpAnimation=1
Fit=3
Gamma=1.00
GridColor=255
GridSize=2
GridSpacingX=80
GridSpacingY=80
GridType=1
HideScrollBar=0
HighZoomQuality=3
IgnoreAlpha=0
ImageLoop=0
KeepGridForNextPrevious=0
LeftButtonFlag=1
LockZoom=0
MouseNavigation=0
MultipageView=0
NoMultipleView=1
OneViewMultiple=1
OnlyOneView=1
OpenHexaViewIfNotPicture=0
PlayMovie=1
PlaySound=1
ReadAhead=1
ResetXY=0
RightButtonFlag=1
ScrollVal=10
SharpenValue=35
ShowColorInfo=1
ShowText=1
SlideDelay=1000
SlideDirection=0
SlideGifLoop=0
SlideLoop=1
SpaceKeyFlag=0
StatusInfo=0
TTitle=<Directory>
Text=<Directory><Filename>||Tag: <Tag status>
UnitsSize=0
UseAlpha=1
UseBgImg=1
UseDPIRatio=0
UseGamma=0
UseSharpen=0
UseTranspIndex=1
UseTransparency=0
UseUndo=1
UseZoomStep=0
UserSelHeight=703
UserSelRatioX=0
UserSelRatioY=0
UserSelWidth=1247
UserSelXdpi=96
UserSelYdpi=96
VideoFitAll=0
VideoLoop=0
VideoPlayBar=1
WheelMouseFlag=0
ZoomFStep=10
ZoomRStep=1.41
ZoomStep=10

[Watermark]
Auto=1
Hspace=0
NoAlpha=0
Path=
Pos=4
Transp=52
Vspace=0


User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Effect Corrupts Jpeg File

Post by XnTriq »

I was able to test XnView v2.35 with your INI, and it does indeed save edited images without asking for my confirmation. However, none of the JPEGs I've used for my experiments…
  1. I opened test.jpeg in XnView.
  2. In view mode, I went to Image » Adjust » Hue/Lightness/Saturation..., dragged the slider for Saturation to the far left (-100), and applied the change by clicking on OK.
  3. Still in view mode, I double-clicked on the opened image. XnView then switched from the viewer to the browser, the edited image was auto-saved, and the thumbnail was updated.
… were corrupted in the process. Could you give me/us a sample file?
User avatar
Brother Gabriel-Marie
Posts: 286
Joined: Thu Aug 23, 2007 2:33 pm
Location: United States

Re: Effect Corrupts Jpeg File

Post by Brother Gabriel-Marie »

I can't here. They are photos and are about 2.5MB. There is a limit here of 2MB. Zipping jpegs doesn't do anything for size. Can I email them to you? I can send you a copy of one that will corrupt and a corrupted one (which I can, however, fix by opening it in Imagine and then saving it).

I tried on a png file and that doesn't corrupt. Just the jpegs.
Last edited by Brother Gabriel-Marie on Fri Feb 12, 2016 5:13 pm, edited 1 time in total.
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Effect Corrupts Jpeg File

Post by XnTriq »

You've got mail (-:

BTW: Have you been able to reproduce the bug with test.jpeg?
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Effect Corrupts Jpeg File

Post by XnTriq »

Thanks for the samples.

I've created a new folder containing just xnview.exe (v2.35) and your xnview.ini.
To my surprise, I have no issues viewing DSCN1971 Copy.JPG nor the de-saturated DSCN1971 Copy Copy.JPG:
p130146.png
I also fed both files to JPEGsnoop to have them checked for any signs of corruption, but they were given a clean bill of health :?
User avatar
Brother Gabriel-Marie
Posts: 286
Joined: Thu Aug 23, 2007 2:33 pm
Location: United States

Re: Effect Corrupts Jpeg File

Post by Brother Gabriel-Marie »

Really? You have no troubles with the files?
My problem is consistent. I've actually had this issue for a very long time - so it's not just this version.

You can see here the thumbnail is squished and the file properties are not being read.
screenshot_XnView (XnView for Windows) [xnview]_009.png
screenshot_XnView (XnView for Windows) [xnview]_009.png (94.41 KiB) Viewed 3223 times
Look at what I get in the preview panel with DSCN1971 Copy Copy.JPG - which is the corrupted one:
screenshot_XnView (XnView for Windows) [xnview]_008.png
screenshot_XnView (XnView for Windows) [xnview]_008.png (80.74 KiB) Viewed 3223 times
I'm running Windows 7 Pro x64 with the UAC disabled. I have a 2GB graphics card, 30GB RAM and an Intel Core i7-2600.
I've also got 32 bit Ghostscript 9.05 and 64 bit Ghostscript 9.15 installed, if that makes any difference.
Also, when I upgrade, it is always using the full installer.

What else can we look at?
Mixer
Banned
Posts: 166
Joined: Fri Aug 28, 2015 6:24 am

Re: Effect Corrupts Jpeg File

Post by Mixer »

Post Reply