On May 18, 2009, at 11:06 PM, Shraddha Karwan wrote:

Hi,

I get the following errors while displaying the JPEG buffered image.

<Error>: Corrupt JPEG data: 584 extraneous bytes before marker 0xc0
<Error>: Quantization table 0x00 was not defined

<Error>: Corrupt JPEG data: 446 extraneous bytes before marker 0xdb
<Error>: Bogus marker length
<Error>: CGImageCreate: invalid image size: 0 x 0.

What can be the cause for this error? Any ideas?


More than likely a bogus or corrupted JPEG file, just as the errors imply. Check that you can view the file in another viewer (say Preview) and that they are being transferred correctly.

If all that checks outs, then you probably want to make sure your even working with a JPEG (often non-technical people will rename files and expect that to change the file format - without outside assistance it doesn't). The file command will try to tell you what type of file you are really looking at.

If you've verified you have a valid JPEG, then the next step is probably to file a bug report.
--
David Duncan
Apple DTS Animation and Printing

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to