Resources and Support
 Pixel Joint Forum : The Lounge : Resources and Support
Message Icon Topic: Question about power of 2 Post Reply Post New Topic
Author Message
donnaloia
Seaman
Seaman


Joined: 12 March 2014
Online Status: Offline
Posts: 14
Quote donnaloia Replybullet Topic: Question about power of 2
    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?






Edited by donnaloia - 15 March 2014 at 6:51pm
IP IP Logged
surt
Commander
Commander
Avatar

Joined: 30 December 2015
Online Status: Offline
Posts: 413
Quote surt Replybullet 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".
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum