File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 17417

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.

An IDE is no substitute for an Intelligent Developer.
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???
It's not a secret anymore!