Applying noSmooth() to a PImage

I was working with a PImage (size 17x12 pixels), and trying to scale it up much larger. When I did this, it made the image blurry like it had anti-aliasing enabled. I know that the noSmooth() method aliases (turns off anti-aliasing), and was wondering if there was a similar process that can be applied to a PImage as it does not apply itself to PImage objects by default.

Thanks for any help

1 Like

Try using PGraphics. You can draw the image on there, and it seems you can apply noSmooth() to it as well. I have not been able to test it, but it may work

What renderer in size()? Default Java2D, P2D / P3D?

What is the destination size? Is it a clean multiple of 17 * c, 12 * r ?