DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=38289>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38289 ------- Additional Comments From [EMAIL PROTECTED] 2006-01-16 16:48 ------- I commited the first version of an image extractor for powerpoint files. The following fragemnt of code demonstrates how to extract png images from a ppt and save them as files: HSLFSlideShow ppt = new HSLFSlideShow(pptfile); Picture[] pict = ppt.getPictures(); for (int i = 0; i < pict.length; i++) { byte[] data = pict[i].getData(); int type = pict[i].getType(); if (type == Pictures.PNG) { FileOutputStream out = new FileOutputStream("pict_"+i+".png"); out.write(data); out.close(); } } ppt.close(); Enjoy. Best Regards, Yegor -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] Mailing List: http://jakarta.apache.org/site/mail2.html#poi The Apache Jakarta POI Project: http://jakarta.apache.org/poi/