aspose file tools*
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
Author

Generating thumbnail on unix

veda patil
Greenhorn

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
Bartender

Joined: Oct 29, 2001
Posts: 8907
    
    8

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


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Generating thumbnail on unix