Retain sharpness in scaled images
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Retain sharpness in scaled images
Is it possible to retain the sharpness of images when drawing them with a scale factor? Mine become "fuzzy" in the edges when I do so, and when one pixel neighbours a pixel with 0 alpha, unwanted white "outlines" occur. I just want simple n^2 scaling where 1 pixel is drawn as 4 at 2x, 9 at 3x, 16 at 4x etc.
Re: Retain sharpness in scaled images
Ah, first time I've seen anyone (other than me) complain about those evil borders. It's related to the color of the transparent pixels, which apparently are white in your case. I made a function to alleviate that ages ago. Too bad it mysteriously stopped working.
Sorry, there's no nearest neighbor filtering (yet).
Sorry, there's no nearest neighbor filtering (yet).
Re: Retain sharpness in scaled images
Yay, at least it's a known issue how hard is this to implement in the backend? I know nothing about OpenGL programming, but my intuitive guess is that setting some kind of option in would be enough to make OpenGL render the images the way I want them. Am I completely wrong on this?
Re: Retain sharpness in scaled images
You're not wrong. You're spot on. It's not hard at all.
Re: Retain sharpness in scaled images
I also would like to see this
Re: Retain sharpness in scaled images
That was the plan.S-Rave wrote:Will this be fixed in 0.6.0?
There is an issue in the tracker, it just has a really bad name.
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 3 guests