• 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

could not able to convert ppt slides to jpeg images

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,
hey i need to convert ppt slid to jpeg
i used poi jar's but in poi it is using awt which will not support in android
so can anybody please help me how to convert them.

i also tried the openoffice fourms but nowhere i got a sample code to convert ppt to jpeg.

thanks in advance,
varun.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Even the bare-bones com/sun/image/codec/jpeg/JPEGCodec class in the JRE uses AWT classes to create JPEGs internally, so you'll probably be hard-pressed to do this on Android with existing APIs.

But POI can extract image data from PPTs (as shown in http://faq.javaranch.com/java/ReadPowerPoint), and if reading PPT files is all you need to do, you may be able to remove all other functionality (that uses AWT) from the POI library, and use it that way. I'm not familiar enough with POI to say for sure whether this would work, though.
 
reply
    Bookmark Topic Watch Topic
  • New Topic