1

I have a 30×30 image, and I resize it to 60×60. All the original pixels now blur into each other due to anti-aliasing. Is there a way to resize the image but keeping the pixelated look, e.g., 1 black pixel becomes 4 black pixels, rather than a blurry mess. Here is an example: I want the increase the size of the left two pixels such that the outcome is what is shown below, so 1x2 pixels becomes 32x64 pixels eventually, while still having the visual effect of looking like a perfect square:

example

Is there an online / free program that can do this, or perhaps an addon to Paint.NET?

I found How can I resize an image without anti-aliasing?, but it doesn't use Paint.NET So im unsure how to go along with it.

2

This answer is for a free software solution, as requested.

You can upscale without anti-aliasing using GIMP which is free and Open Source.

Open the image in GIMP and from the main menu choose Image > Scale image, and set the Interpolation to "None". Change the size as required and hit Scale.

enter image description here

Note: For Paint.NET or other programs that don't have Interpolation, simply choose "Nearest Neighbour" when resizing the image. There should be a dropdown.

  • How can interpolation of none yeild any result? ;) Bad naming. Pixels are not small squares after all. – joojaa Jun 22 at 8:32
  • @joojaa Ask the GIMP developers why they chose it, I can't read their minds ;) – Billy Kerr Jun 22 at 9:18
1

First:
When you upscale from a very small image, be sure to only enlarge by multiples of the original image size. So, if you start with a 30x30 pixel image, enlarge to 60x60, 90x90, etc. Enlarging to a size that isn't a multiple will force the software to split pixels unevenly, even if anti-aliasing is turned off. This is less important with larger source images.

Second:
When upscaling, choose an upscaling method that does not cause anti-aliasing. In Photoshop, you can use "Nearest Neighbor (hard edges)".

Third:
Save in a format that is friendly to images with hard edges/high contrast transitions, like png (for web) or tiff (for print). Saving as a jpg with compression can cause visible artifacts near the edges.

Original:
enter image description here


300%
enter image description here


600%

enter image description here

  • It's also worth noting that some software used to view images anti-aliases them, even if the source images have sharp edges. For example, web browsers that can enlarge the page like Chrome (Ctrl + +/-) often render the image with soft edges in zoomed states. – 13ruce Jun 21 at 11:55
  • By the way, good job on the answer, someone beat ya to it sadly. But like your comment above, I actually made this question because of Chrome, I wanted to use RAW gui elements from Minecraft to make a html "simulation" of minecraft's UI, and its going well – TaylorS Jun 21 at 23:29
1

I believe i found the answer I wanted: http://www.justskins.com/forums/how-do-i-resize-181738.html

You can change the default interpolation method in preferences. Choose Nearest Neighbour for no anti-aliasing. You may want to change it back to Bicubic when you´re done, however.

I changed my settings in paint.net to nearest neighbor when doubling the size of my image, it kept the sharpness of the image and didn't cause it to blur, thank you to the person who wrote that post above.

EDIT: The above answers have a bit more context :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.