Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Generating thumbnail on unix

 
veda patil
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to generate thumbnail from an image.
We have to use JDK 1.3.1 version only.
 
Balasubramani Dharmalingam
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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

We used this code for generating thumbnail image using JDK 1.4.
 
Joe Ess
Bartender
Pie
Posts: 9258
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Image.getScaledInstance(int width, int height, int hints)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic