java - In JavaFX, is there a way to antialias image when drawing with GraphicsContext.drawImage()? -


i'm using graphicscontext.drawimage(img, x, y, w, h) draw image scaled fit region on canvas. i'm noticing aliasing artifacts due scaling. javafx have equivalent swing's renderinghints.value_interpolation_bicubic?

there 2 ways scale image. 1 scaling via drawing operator have done , other 1 scale image when load it. constructors of image class have parameters specified desired bounds of image , in addition have parameter called "smooth" which, if set true, should want.


Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -