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.
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
bug name that starts with Q
plz tell me wht is the career in testing as i m moving frm java to testing field
Worlds easiest jobs
Pls start a Joke chain
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014