wood burning stoves
The moose likes Swing / AWT / SWT and the fly likes Generating thumbnail on unix Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Generating thumbnail on unix" Watch "Generating thumbnail on unix" New topic

Generating thumbnail on unix

veda patil

Joined: Jul 09, 2002
Posts: 16
How to generate thumbnail from an image.
We have to use JDK 1.3.1 version only.
Balasubramani Dharmalingam
Ranch Hand

Joined: Dec 06, 2004
Posts: 116

Usage: scaleImage( new File( "ImageFilePath") , new File( "thumbnailPath" ) , 100 )

We used this code for generating thumbnail image using JDK 1.4.

Balasubramani SD,<br />SCJP 1.4,SCWCD 1.4,SCJP 5.0<br /><a href="http://sd.balasubramani.googlepages.com" target="_blank" rel="nofollow">www.sd.balasubramani.googlepages.com</a>
Joe Ess

Joined: Oct 29, 2001
Posts: 9169

Image.getScaledInstance(int width, int height, int hints)

[How To Ask Questions On JavaRanch]
I agree. Here's the link: http://aspose.com/file-tools
subject: Generating thumbnail on unix
jQuery in Action, 3rd edition