• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Can read/render prograssive JPEG???

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
George Kalfas
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic