r/JavaFX • u/random-pc-user • Mar 08 '25
Help How do I stop images from being jagged when they're small?
In my JavaFX app small images always look extremely jagged unless I scale them down externally then upload them, but that just makes them extremely blurry, making me deal with either blurry images or jagged images.
First Icon is scaled down so it's blurry
Second Icon is normal and its not scaled down or up
Third Icon is normal but still looks jagged because its edges are diagonal

1
Upvotes
View all comments
Show parent comment
1
u/random-pc-user Mar 08 '25
are they pngs? the file type I use is PNG since I need the icons to be transparent.