Page 3 of 4
Re: Effect Corrupts Jpeg File
Posted: Mon Feb 15, 2016 10:15 pm
by XnTriq
xnview wrote:are you able to reproduce?
I'm able to reproduce
some of it
some of the time, …
- Mixed thumbnail sizes in browser
- Hex in preview
- Misc. weirdness (see attached screenshot)
… but none of the JPEGs were corrupted during my tests.
xnview wrote:could you send me the sample file?
Does Br. Gabriel-Marie have your e-mail address?
Re: Effect Corrupts Jpeg File
Posted: Tue Feb 16, 2016 2:54 am
by Brother Gabriel-Marie
Pierre, I don't know if I do. It's been a long time.
Re: Effect Corrupts Jpeg File
Posted: Wed Feb 17, 2016 3:45 am
by XnTriq
xnview wrote:could you send me the sample file?
Alright, this seems to be the address in question:
I believe there's a faulty line in the
[Text] section of the
configuration you posted earlier, Br. Gabriel-Marie:
I don't know how XnView handles errors or if this causes any hiccups. Either way, you might want to delete the whole section (which holds the settings for
Image »
Add Text...). Please remember to quit XnView prior to editing the INI.
Re: Effect Corrupts Jpeg File
Posted: Wed Feb 17, 2016 4:32 am
by Brother Gabriel-Marie
Okay, I removed the entire section as you advised.
However, I am still able to corrupt those photos.
I went to the directory with the photos
made a copy of one in XnView's browser
then opened it XnView
set the saturation to 0
double-clicked to return to the browser (which would auto-save)
and voila! Corrupted image again.
Re: Effect Corrupts Jpeg File
Posted: Wed Feb 17, 2016 5:15 am
by XnTriq
XnTriq wrote:With
your configuration, the overlay icon isn't displayed although
Use Embedded thumbnail is activated.
Tools »
Options... »
Thumbnails »
Icon info »
Embedded thumbnail was deactivated.
I'm about to run out of ideas here

Re: Effect Corrupts Jpeg File
Posted: Wed Feb 17, 2016 2:31 pm
by Brother Gabriel-Marie
No, I think we were onto something with the bits out of whack. That's not something that can be fixed with an ini setting - it's something in the way that XnView writes changes to jpeg files.
However, it seems like an obscure problem, but I think it *is* an issue with photos created by certain cameras, seeing how they can use different standards and seeing how XnView has to deal with the likelyhood of any/all of them simultaneously.
Re: Effect Corrupts Jpeg File
Posted: Wed Feb 17, 2016 3:45 pm
by XnTriq
Brother Gabriel-Marie wrote:No, I think we were onto something with the bits out of whack. That's not something that can be fixed with an ini setting […]
What I meant to say: My observation that “XnView has either trouble finding the embedded thumbnail or it can't decide which one (
Composite:ThumbnailImage vs.
Composite:PreviewImage) to use” won't “help Pierre find out what's going on” because it turned out to be a false lead.
Did Pierre get the samples? (I didn't want to forward them without having asked for your permission to do so.) Can he
confirm that any of them are indeed
corrupted?
Re: Effect Corrupts Jpeg File
Posted: Wed Feb 17, 2016 4:33 pm
by Brother Gabriel-Marie
You may certainly forward the samples.
I have enabled the "Embedded Thumbnail" setting to no avail.
Re: Effect Corrupts Jpeg File
Posted: Thu Feb 18, 2016 4:45 am
by XnTriq
Brother Gabriel-Marie wrote:You may certainly forward the samples.
Thanks. Sent.
Look-a-here what the cat dragged in:
It's an undead (?) bug from 2010 that's supposed to be gone since v1.98 (
WhatsNew.txt: “ENTER & saving”).
Re: Effect Corrupts Jpeg File
Posted: Fri Feb 19, 2016 2:45 pm
by XnTriq
@Pierre: Did you get the samples?
Re: Effect Corrupts Jpeg File
Posted: Mon Feb 22, 2016 8:36 am
by xnview
XnTriq wrote:@Pierre: Did you get the samples?
yes but now i need to be able to reproduce...
Re: Effect Corrupts Jpeg File
Posted: Mon Feb 22, 2016 9:30 pm
by XnTriq
I analyzed the sample which is supposed to be damaged (
DSCN1971 Copy Copy.JPG) with a whole slew of other specialized tools, …
… but all of these utilities confirmed JPEGsnoop's diagnosis: Everything seems to be in perfect order.
As
mentioned earlier, I've been “able to reproduce
some of it
some of the time”, but I never ended up with a corrupted JPEG, even though I've tried to reproduce the problem on several different computers over & over again, which makes me wonder if this phenomenon only occurs on machines with the horsepower of Br. Gabriel-Marie's PC (“30GB RAM and an Intel Core i7-2600”).
@ Br. Gabriel Marie: If I understood correctly, …
Brother Gabriel-Marie wrote:I went to the directory with the photos
made a copy of one in XnView's browser
then opened it XnView
set the saturation to 0
double-clicked to return to the browser (which would auto-save)
and voila! Corrupted image again.
…
the edited JPEG is displayed as hex in the preview pane, and
the thumbnail in the browser is distorted. What happens if you then…
- Point the browser to a different folder
- Deactivate Keep current image in cache in Tools » Options... » View » Misc. » Cache
- Remove the directory with the corrupted file from the list in Tools » Options... » Thumbnails » Cache » Cache maintenace
- Return to the original folder
- Try to open the corrupted photo
Re: Effect Corrupts Jpeg File
Posted: Mon Feb 22, 2016 9:51 pm
by Brother Gabriel-Marie
Well, as I've said, it doesn't happen with every jpeg file. Just certain ones (but consistently for those files).
The only other thing I can think of is that I am running Intel Smart Response Technology (ISRT) and have used an SSD to accelerate my C drive HDD. I've also put my pagefile onto that SSD. Those two things provide my system with 15-20 more responsiveness.
So I applied the settings you indicate and I am still able to corrupt the jpeg.
And I can still corrupt the jpeg even if I move the file to another folder on another partition.
If I try to open the corrupted jpeg, I get a popup from XnView saying, "Error opening the file <myfile.jpg>"
Re: Effect Corrupts Jpeg File
Posted: Mon Feb 22, 2016 10:15 pm
by XnTriq
@ Pierre: Do you think it makes sense to install any of the following hotfixes for
Windowscodecs.dll and/or
Gdiplus.dll?
- Microsoft Knowledge Base
- Super User
Re: Effect Corrupts Jpeg File
Posted: Wed Feb 24, 2016 8:39 am
by xnview
XnTriq wrote:@ Pierre: Do you think it makes sense to install any of the following hotfixes for Windowscodecs.dll and/or Gdiplus.dll?
i don't know, but i don't think that it's the problem...