The Artima Developer Community
Sponsored Link

Java Answers Forum
Corrupt JPEG data: 1 extraneous bytes before marker 0xd9

2 replies on 1 page. Most recent reply: Feb 15, 2005 9:38 PM by Ani

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Daniel Liu

Posts: 11
Nickname: hhliu
Registered: Feb, 2004

Corrupt JPEG data: 1 extraneous bytes before marker 0xd9 Posted: Feb 25, 2004 4:38 AM
Reply to this message Reply
Advertisement
Hello,

When I import the images from hard disk to a JList, the images can be shown on the interface properly, but it shows the following message on the console:
Corrupt JPEG data: 1 extraneous bytes before marker 0xd9

Does any one know the reason?

Thanks,

Daniel


Cindy

Posts: 1
Nickname: calbrigh
Registered: Jun, 2004

Re: Corrupt JPEG data: 1 extraneous bytes before marker 0xd9 Posted: Jun 4, 2004 5:25 PM
Reply to this message Reply
Did you ever find out how to get rid of this error message? When I load certain files in Dreamweaver MX it appears. They contain a JS.

Ani

Posts: 1
Nickname: sc0rpionx
Registered: Feb, 2005

Re: Corrupt JPEG data: 1 extraneous bytes before marker 0xd9 Posted: Feb 15, 2005 9:38 PM
Reply to this message Reply
> Hello,
>
> When I import the images from hard disk to a JList, the
> images can be shown on the interface properly, but it
> shows the following message on the console:
> Corrupt JPEG data: 1 extraneous bytes before marker 0xd9
>
> Does any one know the reason?
>
> Thanks,
>
> Daniel
Hi Dani,
The reason is that before the EOI marker (0xFF 0xD9) one can include custom data other than data related to image. This is why the java decoder showing this message.

Regds
Sc0rpionX

Flat View: This topic has 2 replies on 1 page
Topic: Java compiler Previous Topic   Next Topic Topic: An unexpected exception has been detected in native code outside the VM.

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use