Strange JPG Images - Can view via http:// but cannot view via C:\ File Path

  • Thread starter Thread starter krwinter
  • Start date Start date
K

krwinter

Hello,

I'm wondering if I've stumbled across a non-standard jor corrupted jpg
implementation.

Our company has a custom-built application that uses PowerPoint to
export a .ppt file as a collection of jpg images. These images display
fine in IE6.0 (on XP) if viewed via http:, but the same file, viewed
through file system (enter address, or double-click) does not show up -
the red X.

Also strange, will open fine in MS Paint, fine in Adobe Illustrator,
and displays fine in Firefox, but Adobe/Macromedia Fireworks cannot
open them 'Unknown file type'. Also, in a Flash movie,
loadMove("strange_image.jpg") will not display.

And, open image in MS Paint, Save As jpg (without editing), the image
is now fully functional in all scenarios.

Anyone seen this before or have any suggestions?

Thanks,

Ken
 
Hello,

I'm wondering if I've stumbled across a non-standard jor corrupted jpg
implementation.

Our company has a custom-built application that uses PowerPoint to
export a .ppt file as a collection of jpg images. These images display
fine in IE6.0 (on XP) if viewed via http:, but the same file, viewed
through file system (enter address, or double-click) does not show up -
the red X.

If you drag them from the file system into an IE window, do they show up? If
so, yes I've seen this before.
Also strange, will open fine in MS Paint, fine in Adobe Illustrator,
and displays fine in Firefox, but Adobe/Macromedia Fireworks cannot
open them 'Unknown file type'. Also, in a Flash movie,
loadMove("strange_image.jpg") will not display.

And, open image in MS Paint, Save As jpg (without editing), the image
is now fully functional in all scenarios.

Anyone seen this before or have any suggestions?


It's possible that if the JPEGs were created on a Mac machine that they have
128 bytes of "junk" data at the start of them. Some applications ignore this
data, and some don't - those that don't won't display the image as they
won't handle the JPEG header data correctly.

When open them in MS Paint and save them out again the new file is generated
from the bitmap data internal to Paint, and so won't have the Mac header of
the original file - which is why they then work in the other apps.

Dan
 
Back
Top