Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Generating thumbnail on unix  RSS feed

 
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
Posts: 9425
12
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
Boost this thread!