Malformed JPEG from Photoshop

They have: 2 posts

Joined: Mar 2006

I have a weird problem and if anyone can offer help it would be much appreciated.

We have a photographics department at work, running Apple Macs with Photoshop CS2, intially processing the RAW files using the Nikkon software tool (not sure what it is called). A number of the images they create are uploaded into the media centre on our corporate website.

Recently we have been having problems in that many of the new images will not download from our office, but can be downlaoded from a home PC. We discovered that the images were being blocked by our firewall solution, which identified them as being malformed JPEG's. The firewall provider has so far been no use in identifying what part of the file is causing a problem, but I have to assume the firewall is just doing its job - turning off the malformed JPEG checking is not an option.

However, if I take the file and convert it to a Bitmap and then back to a JPEG on my windows XP PC running Photoshop 7 the file is often (but not always) OK and downloads fine. Doing the same on the MAC does not work. This makes me suspect it is some combination of MAC/Photoshop that is causing the issue.

As ours is a common firewall solution I would guess a number of people are having problems (we have had a few comments, but I don't know how many users are affected).

Has anyone encountered a similar problem? If so, any ideas what is causing the issue, or if there is a way to even intrerogate the file before it is uploaded? At the moment we only find out if the file will cause a problem after uplaoding - this is tedious and wastes lots of time.

Let me know if you think I have missed out any vital/useful info.

Thank you for any help you can provide - its starting to drive me nuts.

They have: 2 posts

Joined: Mar 2006

Someone suggested I try the Save as Web function. Although a dialog appears saying the file exceeds the size Save as Web was created for I proceeded. The process was very slow, but when I uploaded the image I was then able to downlaod it with no problems. I need to do some more testing - especially on a MAC, but looks like this might do the trick.

Apparently it strips out loads of headers that Photoshop (and the Nikkon software) may have added.

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

Thanks for updating us with the solution, Marmarino! When I read your message it didn't even occur to me that you wouldn't be using Save for Web! Shows you the assumptions one makes when you do this all the time Smiling

That's another good reason why "save for web" should always be used when creating images for the web!

Busy's picture

He has: 6,151 posts

Joined: May 2001

These headers are EXIF (digital cameras are especially bad at this), one way is to create your image/ or save it from camera and just open and save again with ifranview or similar with 'keep orginal exif data' unchecked (also uncheck 'save orginal iptc data') and your files will be half the size at least and no distorted or confusing headers.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.