aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Single image file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Single image file" Watch "Single image file" New topic
Author

Single image file

Larry Lai
Ranch Hand

Joined: May 13, 2002
Posts: 44
Hi guy,
One question I want to ask is 'How can the application display a single image file (without making multiple copies) into different size?'
It's because I design an application showing a image and the users can choice the image size with different size(eg. small middile and large).
If anyone doesn't understand my question, I would explain more details as well.
thanks
Larry
saager mhatre
Ranch Hand

Joined: Dec 20, 2000
Posts: 61
Explain what you mean by
without making multiple copies
.
raj madhuram
Ranch Hand

Joined: Oct 10, 2001
Posts: 71
Originally posted by Larry Lai:
Hi guy,
One question I want to ask is 'How can the application display a single image file (without making multiple copies) into different size?'

The application has to maintain images of highest possible resolution and scale down (there are various filtering techniques) to display images of different sizes.
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Hi Larry,
I think you may want to do something like this:

Hope this helps,
Michael Morris
[ August 06, 2002: Message edited by: Michael Morris ]
[ August 06, 2002: Message edited by: Michael Morris ]

Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Single image file