Problem converting TIFF files to JPEG

MP
Posted By
Mike_P._Cloghessy
May 7, 2004
Views
1254
Replies
31
Status
Closed
I am working with Photoshop 7.0. My OS is Windows XP. I scanned an image as line art. This works fine. I save it as a TIFF. Then I enlarge the image and convert it from Bitmap to Grayscale. Then I convert it to RGB color. I add color to a certain area. Then I save this image as a JPEG. It writes the JPEG format. Done.

However, when I try to re-open the file up in Photoshop or place it in a Pagemaker layout I receive the following error…"Unknown or invalid JPEG marker type is found". As a result I cannot open or place the file anywhere. I cannot even preview it ("No preview available"). I have wasted so much time on this project already.

Any help would be greatly, greatly appreciated.

Mike Cloghessy

Must-have mockup pack for every graphic designer 🔥🔥🔥

Easy-to-use drag-n-drop Photoshop scene creator with more than 2800 items.

RW
Rene_Walling
May 7, 2004
Is it only one file?

Can you open the backup? (You did keep a backup in a non-lossy format, right?)

Have you tried opening the file in Imageready or Irfanview?
MP
Mike_P._Cloghessy
May 7, 2004
Rene:

I kept the TIFF file. But after several attempts at converting it to JPEG with the same result I actually started from scratch and rescanned the entire image, resized it and saved it as a TIFF file. I took this file and converted the image mode to grayscale and then to RGB color. I added the necessary color. Then I saved it as a JPEG. This seemed to work. But then I cannot preview, re-open or place the image. Same result.

I do not have Imageready or Irfanview.

Mike Cloghessy
MP
Mike_P._Cloghessy
May 7, 2004
Rene:

Check that….I do have Imageready and did try to open the file in that program. I received this message…."Could not complete the operation because a compression error occurred."

Mike Cloghessy
MM
Mac_McDougald
May 7, 2004
The size of the image fits a 20" by 20" area.

At what ppi?
Could be you’ve exceeded either the 30,000 pixel or the 2GB limit?

Mac
RW
Rene_Walling
May 7, 2004
When saving, have you tried different JPEG settings (interlaced/non-interlaced, compression level, etc…)

What about save for web?

BTW, you can download Irfanview at <http://www.irfanview.com/>
MP
Mike_P._Cloghessy
May 7, 2004
Rene:

I just tried different JPEG settings (i.e. medium and low) and the same result. I tried saving for web but the file is too big for the web. The size of the image fits a 20" by 20" area.

On one attempt to save it as JPEG in Medium setting I was able to save it and then reopen it. So then I converted the image mode to RGB Color. Then saved it again and was not able to reopen. Since that attempt I have had no luck reopening any of my attempts.

This is very strange. I have had Photoshop 7.0 for over a year now and have never had this problem before.

Mike Cloghessy
RW
Rene_Walling
May 7, 2004
It is strange…

Have you tried deleting preferences? I don’t know if it will work, but it does seem to be a cure for a lot of problems that can crop up.
MP
Mike_P._Cloghessy
May 7, 2004
Rene:

I’m game, how do I do that?

Mike Cloghessy
L
LenHewitt
May 8, 2004
Mike,

Instruction for deleting the prefs file can be found in the FAQ at the top of this forum’s Topic List
MP
Mike_P._Cloghessy
May 10, 2004
Mac:

The size of the TIFF file I am trying to convert to a JPEG is 143MB. The image mode is as a grayscale.

Mike Cloghessy
MP
Mike_P._Cloghessy
May 10, 2004
Rene:

Okay…I have deleted the preferences and still no change in results.

Mike C.
MP
Mike_P._Cloghessy
May 10, 2004
Thank you, I found the instructions.

Mike Cloghessy
MP
Mike_P._Cloghessy
May 12, 2004
A question regarding the 30,000 pixel and 2 GB limit. How do I determine the number of pixels in the image? I suspect while not going over the 2 GB limit, I may have exceeded the 30,000 pixel limit.

Please let me know.

Mike Cloghessy
PC
Pierre_Courtejoie
May 12, 2004
Right click on the title bar of the image, and go to file size
MP
Mike_P._Cloghessy
May 12, 2004
Do I do this within Photoshop? I try right clicking but I do not see the phrase "file size".

Thank you!

Mike Cloghessy
DM
dave_milbut
May 12, 2004
hit Image> Image size. that’ll show it too.
MP
Mike_P._Cloghessy
May 12, 2004
Okay the information is as follows…

Pixel Dimensions 140.1M
12,000 pixels width
12,240 pixels height

Does this mean the file contains 140,100 pixels?

Mike Cloghessy
MM
Mac_McDougald
May 13, 2004
Does this mean the file contains 140,100 pixels?

Nope, has 146,880,000 pixels.

I guess you’re wondering about the 30,000 pixel limit.
That only applies to a single dimension, not a total pixel count of the image.

So this is not the prob.

Mac
MP
Mike_P._Cloghessy
May 13, 2004
Thank you for the information. Any ideas as to what the problem might be?

Mike Cloghessy
MM
Mac_McDougald
May 13, 2004
I really don’t.

Using 7.01? By all means, apply the update if you aren’t.

You are just saving to a hard drive on your computer, right? And not a network drive?

Just to cover all the bases, have you deleted prefs?

Mac
MP
Mike_P._Cloghessy
May 14, 2004
Mac:

I am just saving to a hard drive. I have deleted the preferences. Just in case I deleted them again and then tried to convert the TIFF to a JPEG and the same result. It saves it. I can right click on the file and go into properties, but I cannot open the file.

Thanks!

Mike C.
MM
Mac_McDougald
May 14, 2004
You have also tried File/Open in Photoshop, right?
Not just double clicking the JPEG?

Try ImageReady. Will that open it?

Try IrfanView. Will THAT open it?

Mac
MP
Mike_P._Cloghessy
May 14, 2004
I have tried file/open in Photoshop. I have tried right clicking on the file in My Documents and open with/Photoshop.

I have tried Image Ready and I get the following message…Could not complete this operation because a compression error occurred.

I downloaded IrfanView and tried but could not open it.

Mike C.
MM
Mac_McDougald
May 14, 2004
I think it’s time to look at something on your system that is corrupting the files. RAM, HD controller, something.

If IrfanView can’t open them, it’s beyond some strange encoding algorithm that might have gotten involved, they are just flat corrupted.

Guess you’ve done surface scan to check for bad sectors?

Mac
J
jonahgilmore
May 14, 2004
WTF!
I have a similar problem, have read other posts with similar problems, but NO-One seems to know what the problem is!
I am freaking out.
2 weeks ago I took some portraits. I uploaded them to my computer, everything fine, all viewable. I then saved the ones I wanted to keep in another folder as tiff’s.
today I went to open some of the tiff’s, majority work fine, however there were 8 that would not open, error said "can not open because file is not a TIFF file" B.S.!!
Fine, so I go back to my original jpg’s and try to open then, now the whole batch with the exception of just a couple give me the error "Invalid JPEG marker".
What is the deal? Does anyone know what the answer to this problem is?
MP
Mike_P._Cloghessy
May 14, 2004
I have not done a surface scan. I will try that and let you know.

Mike C.
CC
Chris_Cox
May 14, 2004
Jon – have you followed the advice from the previous responses?

The problem is on your hard drive or your system. You need to find what is corrupting your files (although the TIFF issue could be a mistakenly typed file extension).
MP
Mike_P._Cloghessy
May 17, 2004
Mac:

I did a surface scan and that did not change the results.

I tried to open the file in IrfanView again. The message…."JPG decode error! JPEG datastream contains no image".

So I opened the original TIFF (Grayscale) in Irfanview and then changed it to a JPEG within that program. I also opened a second TIFF (RGB color) and changed it to a JPEG within Irfanview. Both IrfanView created JPEGs, open up in Photoshop and Windows Picture and Fax viewer. I can reopen both in IrfanView as well.

However, when I try to place the image in a Pagemaker layout it appears as a black box. I went the extra step and converted it to a pdf file and it still looks like a black box.

So it appears that one problem is solved and another created, or just half the original problem is solved.

Any ideas?

Mike C.
MM
Mac_McDougald
May 18, 2004
Mike, I wish I had any more ideas, have followed your prob from the first.
But you have the screwiest set of circumstances I’ve ever heard of. Actually seems impossible, some of the results you’re getting. So this is just an empathy post; I really don’t have any ideas, I’m afraid.

Mac
MP
Mike_P._Cloghessy
May 18, 2004
Thanks for trying Mac, I appreciate it.

Mike C.
L
lly
Jun 9, 2004
Try to switch "Image previews" to "Never save" in Preferences->File Handling dialog. It helps in my case.

Must-have mockup pack for every graphic designer 🔥🔥🔥

Easy-to-use drag-n-drop Photoshop scene creator with more than 2800 items.

Related Discussion Topics

Nice and short text about related topics in discussion sections