Print Page | Close Window

Question about power of 2

Printed From: Pixel Joint
Category: The Lounge
Forum Name: Resources and Support
Forum Discription: Help your fellow pixel artists out with links to good tutorials, other forums, software, fonts, etc. Bugs and support issues should go here as well.
URL: https://pixeljoint.com/forum/forum_posts.asp?TID=18410
Printed Date: 11 September 2025 at 8:54pm


Topic: Question about power of 2
Posted By: donnaloia
Subject: Question about power of 2
Date Posted: 15 March 2014 at 6:28pm
After getting help on this forum, I have started working on a picture. My understanding was that if I make a square image that is 16x16 or 32x32 and so on, that I could then take that image and blow it up 200% and it should stay sharp.

So I made a picture that is 400x400 (which is divisible by 16 so I assumed that would be ok), but when I expanded it to 200%, the lines are not as clean, there are some shadows that border each line that weren't there before. I have included the before and after picture. Am I doing something wrong here?







Replies:
Posted By: surt
Date Posted: 15 March 2014 at 8:32pm
For cleanly scaled pixels you want to scale by an integer factor.
Power of two has nothing to do with clean scaling.

Your image editor is performing some form of interpolative scaling which you'll need to disable (if you can't do so then get yourself a better image editor).

Look to disable anything that sounds like "smoothing" or "interpolation".

Alternatively try enabling something that is usually called "nearest neighbour interpolation" or "point sampling".

-------------



Print Page | Close Window