OT: Photoshop Images crashing web program.

craftech wrote on 11/15/2006, 8:20 AM
I cannot understand why this is happening. I am trying to build a
website for someone using WebEasy 6.0 I have added SOME jpeg images to the pages in the program without a problem, but the girl's professional headshots (of all things) cannot be added. They crash the program.
I resized the images down to 512 x 334 at 78 DPI. I made sure I removed the read-only property before I corrected the color and resized it down to the aforementioned size. It won't work. I have done it with other photos from productions she did that are resized to 512 x 346 at 78 dpi and they work just fine. I am using Photoshop 6 and W98SE. The file sizes are similar and are under 200KB.

I don't understand it.

Anyone have any ideas about what to do with the images to make them work? It is only those images.

Thanks,

John

NOTE: WebEasy tech support couldn't figure it out.

Comments

ScottW wrote on 11/15/2006, 8:28 AM
If the output from webeasy is an HTML file, then as a work-around, I'd just put in some placeholder pictures, then edit the HTML via notepad to specify the actual photo needed.

Anotherthing I just thought - you might want to check the color format - if these were "pro" shots then they are probably CMYK and it may be that Webeasy can't handle that - so convert them to RGB.

--Scott
Former user wrote on 11/15/2006, 8:31 AM
Make sure the JPG's are RGB (not CMYK). Professional photos are typically processed on Mac's before us PC users get 'em and they default to CMYK...

EDIT - I see Scott beat me to it ;-)
craftech wrote on 11/15/2006, 8:58 AM
Image file says:

052.jpg@100% (RGB)

In the WebEasy 6.0 program it allows you to add images to a work page using either drag and drop from a file browser located at the bottom (like a media pool) or by file name. Neither way works for these headshots. The program crashes.
If they didn't work for any images I would be looking mainly at the program itself, but it appears to be something about the headshots that is causing the problem.

Thanks,

John
Former user wrote on 11/15/2006, 9:02 AM
Just out of curiosity, could you resize the images to match the ones that do work and see if that affects anything.

Dave T2
rmack350 wrote on 11/15/2006, 9:17 AM
How about progressive vs nonprogressive jpeg?

You can choose which type of jpeg when you save. I don't know where the checkbox comes in normally because i always use the save for web tool. In that case it's a checkbox that is readily apparent.

My guess is that your application only handles non-interlaced jpegs.

It could also, maybe, be the jpeg library that your version of windows is using. Time marches on and I'm pretty sure that the jpeg library has undergone an update or two.

Rob Mack
craftech wrote on 11/15/2006, 7:11 PM
Just out of curiosity, could you resize the images to match the ones that do work and see if that affects anything.

Dave T2
==========
Dave,

They are basically the exact same size Dave. I did however make them exact just to try it with the same result.
Thanks for the response.

John
craftech wrote on 11/15/2006, 7:12 PM
How about progressive vs nonprogressive jpeg?
=======
The standard choive is Baseline (Standard) which is how I save them. I tried Progressive, but I got the same result.

Thanks Rob.

John
Former user wrote on 11/15/2006, 7:14 PM
Would you be willing to email or upload one of the images so we can have a look see? In fact, you might want to also send along one of the images that works so we can compare the two.

Jim
craftech wrote on 11/15/2006, 7:37 PM
Thanks for that idea Jim.

001.jpg will load onto the workspace in WebEasy 6.0 without a problem.

051.jpg is one of the headshots that crashes the program.

Thanks,

John
Former user wrote on 11/15/2006, 8:10 PM
The image labeled 051.jpg is a 300dpi image, and does have an ICC profile embedded in it: sRGB IEC61966-2.1 which shouldn't cause a problem, but the other image has no profile.

Here's a revised version of image 051.jpg with no profile and 78dpi:

Revised image

Jim
apit34356 wrote on 11/15/2006, 8:17 PM
Craftech, besides the fact the images require different display space, the headshot has embedded data, EXIF data, plus has embedded data defining image size. 1.11 x 1.71 inches at 300dpi. you need clear these out.
apit34356 wrote on 11/15/2006, 8:19 PM
Jim, you beat me, I'm going to have to stop typing with one finger and relearn the keyboard.
rmack350 wrote on 11/15/2006, 8:41 PM
about the line I was going to follow.

First off, DPI should be totally irrelevant. You aren't printing anything.

However, the difference in the embedded data rings a bell. Seems to me that I remember something about problems with too much data in the header of image files crashing some software.

There may even be a thumbnail embedded in the problem files. So maybe a resave or save-as will clear it up.

Ro Mack
rmack350 wrote on 11/15/2006, 8:56 PM
Another possible jpeg problem. One I've experienced.

Photoshop installs a DLL used to dig into the metadata of files like jpegs. This only gets used if you chose to make photoshop the default editor of things like jpegs when you installed photoshop, but once you've done it, it affects all programs that might want to get into that info. This even includes windows explorer, and in fact it'll crash windows explorer if you try to browse a folder with too many jpeg files in it.

The only solution I know of was to completely uninstall photoshop and then reinstall it, making sure NOT to make it the default editor for things ike jpeg files.

Photoshop CS2 doesn't install the dll. It was a known problem and now Adobe's solution is to provide Adobe Bridge as the means to dig into that metadata.

It's just a guess. One indication would be whether jpeg files have a photoshop icon in Explorer. That would at least show you that your system is using the adobe dll to get info from the headers of jpeg files.

Rob Mack
pjrey wrote on 11/15/2006, 9:55 PM
try this
start new html file
insert the troublesome jpg file...
what happens?

as soon as you insert the program is crashing?

never had anything like this happen to me... i use dreamweaver... and has treated me real good! look into it if you are doing lots of designing....
let me know your findings..

pj
craftech wrote on 11/16/2006, 6:22 AM
The image labeled 051.jpg is a 300dpi image, and does have an ICC profile embedded in it: sRGB IEC61966-2.1 which shouldn't cause a problem, but the other image has no profile.

Here's a revised version of image 051.jpg with no profile and 78dpi:

"Revised image"
===================
WOW!

The revised image worked perfectly Jim. That was it! I will get rid of the embedded ICC profile in the headshots. In terms of the 300 dpi vs 78 dpi I have converted the headshots so many times I probably forgot to change it this time, but I can assure you the others at 78 dpi were crashing the program every time. The ICC profile has to be the culprit.

Thanks again Jim.

John
craftech wrote on 11/16/2006, 6:24 AM
Craftech, besides the fact the images require different display space, the headshot has embedded data, EXIF data, plus has embedded data defining image size. 1.11 x 1.71 inches at 300dpi. you need clear these out.
=========
Apit,

Thanks as well. I really appreciate your help.

Regards,

John
craftech wrote on 11/16/2006, 7:49 AM
OK.

I am running into a problem with the headshots including the original of the one that Jim revised (that worked) when I try to duplicate what Jim did.

I change the ICC profile to none and use Save As to save it as a Standard Baseline Jpeg with NO profile. The resulting jpeg image is still crashing the program yet Jim's is not. If I change it using Image / Mode / Assign Profile / Don't Color Manage This Document it also removes the ICC profile , but it still makes no difference.

When I put them side by side in Photoshop 6 they seem identical, but Jim's works and mine does not.

In terms of what Apit said regarding EXIF data and embedded data defining image size 1.11 x 1.71 inches at 300 dpi I can't find that. Besides, mine says it is 78 dpi not 300 dpi.

File / File Info shows absolutely no imformation for the headshots.

John
Former user wrote on 11/16/2006, 8:13 AM
John,

The link you have with the "resulting jpeg image" is the same image as before -- or at least it has the exact properties. I use Paint Shop Pro (never been a big fan of Photoshop) so any specific suggestions for how to determine the various settings using PS will need to come from the PS users on the forum.

But in the meantime, I will be more than happy to convert the files for you. You can either email them to me via my profile (you can't attach a file using the forum, but email me anyway and I'll respond which will give you my email address) or post them as you did before.

Jim
craftech wrote on 11/16/2006, 8:20 AM
John,

The link you have with the "resulting jpeg image" is the same image as before -- or at least it has the exact properties. I use Paint Shop Pro (never been a big fan of Photoshop) so any specific suggestions for how to determine the various settings using PS will need to come from the PS users on the forum.

But in the meantime, I will be more than happy to convert the files for you. You can either email them to me via my profile or post them as you did before.

Jim
=============
Photoshop shows that the "revised image" does not have an ICC profile and is 78 dpi


I really appreciate that Jim, but I would like to try doing this myself first. I have Paint Shop Pro 7, but I never use it. Can you tell me how to duplicate what you did using THAT program?

Regards,

John
Former user wrote on 11/16/2006, 8:27 AM
Sure.

Just open the image in PSP then choose "File - Export - JPEG Optimizer". Then interactively choose a compression level that you like (I use 10 for most web images). There is also a "Save exif data" checkbox, be sure that it is un-checked. Choose the "Format" tab and select "Standard". Click okay and pick a place / filename to store the resulting image and you're done.

Keep in mind that this doesn't reset the image dpi to 78. If you'd like to set it to something else (e.g. 78) then just click "Image - Resize" select "Actual / print size" and enter "78" in the "resolution" requester (be sure that "pixels / inch" is selected next to the requester). And click "OK".

It may appear that nothing happens, that's because the image isn't actually "resized", it's just reset to a new dpi that will be stored when the image is re-saved...

Jim
craftech wrote on 11/16/2006, 8:38 AM
Sure.

Just open the image in PSP then choose "File - Export - JPEG Optimizer". Then interactively choose a compression level that you like (I use 10 for most web images). There is also a "Save exif data" checkbox, be sure that it is un-checked. Choose the "Format" tab and select "Standard". Click okay and pick a place / filename to store the resulting image and you're done.

Keep in mind that this doesn't reset the image dpi to 78. That takes a few more steps, but the dpi setting doesn't apply in this example.

Jim
==========
Jim,
Before you posted that I opened up Paint Shop Pro 7 and simply saved the same resized headshots without changing them AT ALL and every one of them worked. Maybe it's what Rob was describing above? Photoshop IS my default editor for jpegs.

It must be something with Photoshop. I am finally happy I have both programs.

Thanks for the kind offers of help.

Regards,

John
Former user wrote on 11/16/2006, 8:41 AM
Just doing a simple "save" might overly compress the image(s). Open the image(s) again and look at them closely. If they are okay, then you're good to go, if not, then you might want to open the original image(s) and go through the optimizer for the best results.

Jim
craftech wrote on 11/16/2006, 8:44 AM
Just doing a simple "save" might overly compress the image(s). Open the image(s) again and look at them closely. If they are okay, then you're good to go, if not, then you might want to open the original image(s) and go through the optimizer for the best results.

Jim
=========
OK Jim. Thanks for that tip. The original headshots from the photographer are actually 1960 x 3008 @ 300 DPI.

John