: 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
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.
More posts by @BetL875
1 Comments
Sorted by latest first Latest Oldest Best
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
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.