Mobile app version of vmapp.org
Login or Join
BetL875

: Is it possible to automate generating a @2x asset by nearest-neighbour scaling when editing a graphical asset @1x? Say I have a PNG image file called image.png that I edit pixel by pixel that

@BetL875

Posted in: #Automation #Gimp #PixelArt #Scale #Sprite

Say I have a PNG image file called image.png that I edit pixel by pixel that is 16 pixels wide by 16 pixels tall (16x16).

For my usage purposes, I need it to eventually be 3 times in size (i.e. 48 x 48) scaled using the nearest-neighbour scaling algorithm (all hard edges; no blurriness).

Currently, I do this manually and export two versions of the same asset, image.png (original) and image@3x.png (48 x 48), every time I make changes, which is somewhat of a hassle. Is there a way to automate my system to generate image@3x.png every time I save changes to image.png? (I am on a Mac).

I am using Gimp.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @BetL875

1 Comments

Sorted by latest first Latest Oldest Best

 

@Ogunnowo857

I realized too late you wanted a workflow for GIMP but I wrote it for photoshop since you were using the notation to generate image assets.

Open your preferences with Ctrl + K or from the edit menu

Change the default image interpolation to Nearest Neighbor

Generate image assets should now use Nearest neighbor scaling. All that is left is to set up your layers to export automatically using generate image assets,(200% layername.png)



Version: Photoshop CC 2017

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme