File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Swing / AWT / SWT
drawImage how to control scale quality
Joined: Feb 07, 2004
Aug 21, 2005 00:18:00
Is any way to control quality of scaling of image when drawImage used? For some reason I can't use Image.getScaledInstance.
Retire your iPod and start with HD Android music player
| Minimal J2EE container is
Light weight full J2EE stack
and build tool
| Co-author of "Windows programming in Turbo Pascal"
Joined: Jan 14, 2004
Aug 21, 2005 11:41:00
Graphics2D g2 = (Graphics2D)g; g2.setRenderingHint(RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BICUBIC); g2.drawImage(...
I agree. Here's the link:
subject: drawImage how to control scale quality
Worlds easiest jobs
plz tell me wht is the career in testing as i m moving frm java to testing field
Pls start a Joke chain
bug name that starts with Q
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014