This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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: 9136

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

[How To Ask Questions On JavaRanch]
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Generating thumbnail on unix
jQuery in Action, 3rd edition