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

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -