Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Photoshop CS4 cannot open TIF, exported from CorelDraw X4

3 views
Skip to first unread message

Byd_B...@adobeforums.com

unread,
Mar 14, 2009, 3:08:38 PM3/14/09
to
Hi there,
When I try to open a TIFF file, exported from CorelDraw X4, PS gives me the following error: "Could not complete your request because of a program error".

I use Photoshop CS2 and CS4, and CorelDraw 12 and X4.

In CS2 I can open tiffs exported from CorelDraw 12 and X4 without problems.
In CS4 I can open tiffs, exported from CorelDraw 12, but cannot open these from X4.

I've tried various settings for tif export in corel - no compression, LZW compression, with & without applying ICC profile, RGB & CMYK color, etc... The result is always the same.

Any ideas?

boblevine

unread,
Mar 14, 2009, 3:54:34 PM3/14/09
to
Why TIF? You'd probably be better off with EPS files.

Bob

Byd_B...@adobeforums.com

unread,
Mar 14, 2009, 4:06:43 PM3/14/09
to
Yes, I work with EPS, but it's an interesting problem with TIF files, and it would be nice to find the solution.

boblevine

unread,
Mar 14, 2009, 4:14:02 PM3/14/09
to
Do they open in PhotoPaint?

Bob

Byd_B...@adobeforums.com

unread,
Mar 14, 2009, 4:18:34 PM3/14/09
to
Yes, tiffs, exported from CorelDraw X4, can be opened without problems in PhotoPaint 12 & X4.

Kwan_...@adobeforums.com

unread,
Mar 14, 2009, 4:38:39 PM3/14/09
to
Apparently not a new problem and not limited to CS4.

Feb. 2008: "What is going on with .tiff files from X4? I tried importing one into OmniPage Pro 14 to OCR and it returned an error message. I had to open the .tiff in X3 and save it for it to work."
See: <http://coreldraw.com/forums/t/3677.aspx>

There appears to be a "fix," at least for CS3, linked about halfway down the thread.

Chri...@adobeforums.com

unread,
Mar 14, 2009, 7:45:59 PM3/14/09
to
Please send a copy of the TIFF file(s) that fails to ccox [at] adobe [dot] com.

Byd_B...@adobeforums.com

unread,
Mar 15, 2009, 5:14:22 AM3/15/09
to
Thank you, Kwan,
The macro provided there ( <http://macromonster.com/index.php?mod=descr&id_desc=28&amp>; ) really fix the problem.

Byd_B...@adobeforums.com

unread,
Mar 15, 2009, 5:34:24 AM3/15/09
to
Hi, Chris,
I sent you an email with two tiffs: before and after applying macro, mentioned above.
It seems the problem is in CorelDraw X4.

Chri...@adobeforums.com

unread,
Mar 16, 2009, 3:46:32 PM3/16/09
to
Yes, the problem is in CorelDraw. They write the IFD (directory) at the end of the file and fail to include the last value (the offset to the next IFD). So when a TIFF reader tries to read the IFD, it reads over the end of the file. Technically, this is a corrupt TIFF file.

I'm not sure how any version of Photoshop read the file - we should have detected the error and bailed out. Hmm, it looks like some versions failed to correctly detect that we were reading over the end of the file by 4 bytes. They read zeros, which just happens to match the "no next directory" value for TIFF. Once we fixed the end of file bug, it exposed the missing value in the CorelDraw TIFF files.

For this specific case, I might be able to add code to work around the corrupt file. But this isn't a bug in Photoshop -- so my change would not be available until the next major release of Photoshop.

You need to notify Corel ASAP so they can fix this bug in their TIFF writing code.

0 new messages