You are reading a single comment by @andrewg_oz and its replies. Click here to read the full conversation.
  • What my code is doing is iterating over every pixel of the character and looking for 'empty' pixels that have two 'full' pixels that are at 90deg to each other relative to the 'empty' pixel. It then draws sub-pixels in the scaled-up 'empty' pixel to smooth out the stair-step effect created by the naïve scaling.

    It's really only good for smoothing out monochrome things, like bitmapped fonts, not images in general.

    Quick set of sample images: https://imgur.com/a/KUDrfPQ

    The vector font is a good for a lot of cases, and it might be a better option for my immediate requirements.

About

Avatar for andrewg_oz @andrewg_oz started