Software Support > DOS/WinCab

CD Cover skins fall over on some jpegs

<< < (2/2)

wwwombat:
Well... yes... I was thinking along those lines but have been unable to identify exactly what is "corrupt" about them, especially as all of my other applications, including the Internet Browser (whcih obviously displays the jpeg above), work.

Since Chris has now confirmed he uses a third-party JPEG loader, I suspect it has to do with the JFIF (which is what JPG really should be called) header and I can only assume that the failing ones do not have them (and the loader expects and when it doesn't find it, cacks itself).

Loading them into ThumbsPlus (which is what I use for mass displaying and alteration of images - other people probably use something like ACDSee or IrfanView) I basically just resave them and on the JPG option screen ensure that the Suppress JFIF Header box is NOT ticked and that seems to rebuild it successfully. These rebuilt "failing" covers will then happily display within Wincab.

The only problem is stepping through every jukebox page in the first place and identifying them quickly before the crash screen appears. I'm done now thankfully.

Chris:

--- Quote from: wwwombat on November 13, 2007, 08:50:02 pm ---Loading them into ThumbsPlus (which is what I use for mass displaying and alteration of images - other people probably use something like ACDSee or IrfanView) I basically just resave them and on the JPG option screen ensure that the Suppress JFIF Header box is NOT ticked and that seems to rebuild it successfully. These rebuilt "failing" covers will then happily display within Wincab.

--- End quote ---
If you then take the JPEG that WinCab is happy with and re-save it with Suppress JFIF Header checked, does it fall over again?

wwwombat:
Yep. Just saved one as this (Suppress JFIF Header box IS ticked) and it (Wincab) crashed when attempting to display that "page".

I'm happy now I know why it falls over and don't expect anything in Wincab to allow for it (unless you can find a third party jpeg loader than doesn't care about the non-existence JFIF header or can pass an error code back you can trap so you can choose to execute gracefully or, better yet, display meaningful text in place of the cover image detailing it is corrupt)

Chris:
I don't know anything about JFIF headers; I'll have to do some research.

Chris:
OK, this is "fixed" in the next version.  "Fixed" in this case means that WinCab still can't read the bad image but at least it displays the default album art in it's place rather than falling over, and if it's the default art itself that is bad it displays a black square.

Navigation

[0] Message Index

[*] Previous page

Go to full version