aspose file tools
The moose likes Java Micro Edition and the fly likes Can read/render prograssive JPEG??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Can read/render prograssive JPEG???" Watch "Can read/render prograssive JPEG???" New topic

Can read/render prograssive JPEG???

George Kalfas

Joined: Aug 05, 2004
Posts: 22
Greetings to everybody!

I'm writing a midlet that at some point downloads an image from the web. The image is quite large and I'm wondering whether exists a library that can read and render progressive JPEG files. I've searched the net but I could not find an answer to that...

Thank you in advance!
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16747

I wouldn't be too surprised to hear that it's pretty much standard these days.

Try it and see.

I think that the "Java In a Nutshell" book from O'Reilly has some examples. Not J2ME, but with luck it'll be pretty much the same.

Customer surveys are for companies who didn't pay proper attention to begin with.
George Kalfas

Joined: Aug 05, 2004
Posts: 22
Just to answer this question for future reference, it seems that progressive jpegs are not yet supported.I've found many jpeg decoders but none claimed that it could render a progressive jpeg. I have tested many ways of displaying a progressive jpg but the picture just appeared all at once.

In order to test it yourself you must find a progressive picture that is smaller than your display, cause if it is larger the browser only gets the first (less detailed) layer anyway.
I agree. Here's the link:
subject: Can read/render prograssive JPEG???