I don't really see the purpose of reinventing the wheel on this one. I think my answer will be:
1) implementing the getThumbnail() method to return byte[]. I don't think it is implemented/supported yet. 2) writing sample code to convert it to a java.awt.Image() 3) maybe demonstrate writing it to a PNG or something 4) maybe integrate a thumbnail viewer into the POIBrowser Returning a java.awt.Image will work in a 1.4 environment without X dependencies. java -Djava.awt.headless=true SomeJavaProgram executes the program without X dependencies. I'll mention this in the sample code I write. My interest in this is using Thumbnails in a document management sytem as a preview. I am not hot on implementing a non-standard image class (that couldn't subclass java.awt.Image) just to represent a thumbnail. Drew Quoting "Andrew C. Oliver" <[EMAIL PROTECTED]>: > What I'd like to see is 1> an awtless byte[] abstraction that can be > easily used to create an Image 2> an extension library in contrib for > those who want certain less then raw implementations. > > ... > > Cool.. So come up with a solution that lets us run nicely on servers > (our #1 target) and yet provide a nice abstraction. Perhaps what you > might need is a cleanroom image class. I'd not think it would be too > hard. > > -Andy ___________________ Drew Varner [EMAIL PROTECTED]
