Bug 685 : scaled images are rendered smooth although default setting is noSmooth
Last modified: 2008-10-13 05:28




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P2
Severity:
normal

 

Reporter:
fjen
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2007-11-14 11:51
rev 133, os-x 10.4, java 1.4

the default setting (JAVA2D renderer) for lines is noSmooth() but for scaled images (image
(img,x,y,w,h) calls) it seems to default to smooth().
Additional Comment #1 From fry 2008-08-16 15:17
not sure what to do for this one, because it's rare that people actually
want images to use nearest neighbor interpolation, even if the rest of
their sketch uses noSmooth().

however, maybe that's what we have to do to be strict, and will use hint()
to alter the behavior.
Additional Comment #2 From fry 2008-10-13 05:28
fixed for 0149, now noSmooth() is called by default, so that the rendering
hint is set for Java2D.