File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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="" target="_blank" rel="nofollow"></a>
Joe Ess

Joined: Oct 29, 2001
Posts: 9189

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

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Generating thumbnail on unix
It's not a secret anymore!