A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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.
Get power of your iPod with
| Minimal J2EE container is
Light weight full J2EE stack
| 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
Pls start a Joke chain
plz tell me wht is the career in testing as i m moving frm java to testing field
bug name that starts with Q
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013