benjaminpick / java-thumbnailer

An extensible java library to create thumbnails of different file types (image, text)
GNU Lesser General Public License v2.1
47 stars 28 forks source link

Dead Link JavaThumbnailer Regain Plugin v0.4 #7

Closed cherweg closed 12 years ago

cherweg commented 12 years ago

https://github.com/downloads/benjamin4ruby/java-thumbnailer/javathumbnailer-plugin-0.4-STABLE.zip is a defekt link. Could you upload this file again?

By the way: Is it possilble to thumbnail html files, too?

regards Christian

benjaminpick commented 12 years ago

I'm excited, you are the first to give feedback to my plugin!

Sorry for the invalid download, I have no idea why this happened. I've uploaded it again.

HTML: Good point, but not easy to achieve. You'd need a java browser such as Cobra (http://lobobrowser.org/cobra.jsp) and then write a thumbnailer to call the rendering process. I will add it to my list of possible future fileformats, but if you can try to write the code yourself (I don't have a clue when I'd tackle it.)

cherweg commented 12 years ago

It´s a really cool plugin for regain. Thank you for your work! I´m using it tho search over a documentation-twiki with lots of Picture and Documents inside. the thumbnails are a great convenience to identify the correct search result.

The download is ok now. thank you.

As far as i can see JODConverter supports HTML converting. (http://www.artofsolving.com/opensource/jodconverter/guide/supportedformats). It´s a little tricky, but it's worth a try. Isn´t it?

regards Christian

benjaminpick commented 12 years ago

You're right, JODConverter can cope with HTML files. But open the HTML file you'd like to thumbnail with OpenOffice, and tell me if you're satisfied with the result! (It can't resolve external references like images, can't cope with CSS, and so on.)

(Also, you have linked to the obsolete version of JODConverter. I've started with this one, fighting with Java's Runtime.exec() to start openoffice, only to realise that there is a follow-up project (v3 at googlecode) that handles this already, and in a more failsafe manner ... I will add links to the wiki page of used libraries.)