1999.04.22 20:54 "JPEG'd TIFF problems on Mac", by Eric Shapiro

1999.04.23 02:59 "Re: JPEG'd TIFF problems on Mac", by Eric Shapiro

I do not known what type of Macintosh you are using? 68K or PPC? It seems

  1. QuickDraw mybe not 32 bits
  2. LockPixels is not used
  3. kHeight, KWIDTH mybe not correct

try it again with the following modification.

  1. It is a PowerPC (G3 running 8.5.1), so QuickDraw is definitely 32-bits.
  2. LockPixels is used (as the comment in the source code says). If it wasn't used, I would probably just get garbage in the image. Instead, I get an error trying to read the file. TIFFFdOpen() is returning nil, but no error message is generated. (The application heap is very large in case you think it might be a memory issue).
  3. kHeight and kWidth are correct. If they weren't, I would probably get garbage in the image not an error reading it.

Thanks for the ideas, though.

-Eric

-------------------------------------------------
 Eric Shapiro                   eric@relium.com
 Relium Corp.                    www.relium.com
-------------------------------------------------