Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

could not able to convert ppt slides to jpeg images

 
varun narisetty
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • 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.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic