mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 01:50:44 +01:00
fix rendering quality in images
This commit is contained in:
@@ -1108,7 +1108,8 @@ public class PGraphicsJava2D extends PGraphics {
|
||||
g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
|
||||
RenderingHints.VALUE_ANTIALIAS_ON);
|
||||
g2.setRenderingHint(RenderingHints.KEY_INTERPOLATION,
|
||||
RenderingHints.VALUE_INTERPOLATION_BICUBIC);
|
||||
RenderingHints.VALUE_INTERPOLATION_QUALITY);
|
||||
//RenderingHints.VALUE_INTERPOLATION_BICUBIC);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@ X with smooth() turned off, shouldn't be smoothing image on resize
|
||||
X but on osx, apple defaults the image smoothing to true
|
||||
X http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Programs;action=display;num=1164753510
|
||||
X http://developer.apple.com/documentation/Java/Conceptual/JavaPropVMInfoRef/Articles/JavaSystemProperties.html#//apple_ref/doc/uid/TP40001975-DontLinkElementID_6
|
||||
X also using VALUE_INTERPOLATION_QUALITY for the default image interpolation
|
||||
X background(0, 0, 0, 0) was resetting stroke, smooth, etc.
|
||||
X make imageImpl() use WritableRaster in an attempt to speed things up
|
||||
X fix weird situation where fonts used in more than one renderer wouldn't show
|
||||
@@ -112,6 +113,7 @@ _ 404 error because first searches applet directory in isometricblocks
|
||||
_ "this file is named" errors don't like subdirectories
|
||||
_ need to strip off past the file separator or something
|
||||
|
||||
_ threading issues are exhibited on bh140c PCs, test and fix!
|
||||
_ things not showing up in linux
|
||||
_ probably threading issue, 98 doesn't have any trouble
|
||||
_ signs point to Runner or PApplet changes between 98 and 99
|
||||
|
||||
Reference in New Issue
Block a user