How to tell Photoshop to treat layer as a Vector graphic? [duplicate]

I have a 48*48 png file that I’m trying to scale up. Even though I converted it to a Smart Object, when I scale it up, Photoshop mixes the color of adjacent pixels to make more pixels for the transformed sized which is not what I want.

Here’s a screenshot of the image:
original

When I’m scaling it, the preview does not show mixed colors:
preview

But when I hit enter, Photoshop mixes the colors:
result

Which as you can see looks very blurry. How can I achieve the the second photo?

Basically I want to tell Photoshop to treat the layer as a Vector and not an Image.

Here’s the original png file if you want to download:
png file

Answer

After pressing Cmd + T Mac or Ctrl + T Win to activate the scaling frame, at the top options bar choose Nearest Neighbor and then do the scaling.

enter image description here

enter image description here

Attribution
Source : Link , Question Author : Shayan , Answer Author : Community

Leave a Comment