Jump to content
You must now use your email address to sign in [click for more info] ×

mini tutorial: pixel art, scale layer, avoid blurriness


Recommended Posts

Hi,

in case you want to scale a pixel layer containing pixel art, you often run into the issue of unwanted and unexpected blurriness, even if you scale by integer factors.

  • contrast may get reduced (black becomes25% grey, white becomes 75%grey)
  • Edge pixels become partially transparent

As example, I try to scale a 32x32px layer to a 64x32px layer (x-axis factor 2, y-axis factor 1)

1. a 32x32px checkered board used as source

1495051997_Screenshot2023-06-02at16_14_00.thumb.png.455d2bfc4729098ecff3c94242e5f955.png

2. stretched to 64x32px: gets blurry, reduced contrast, including transparent edge pixels

772255146_Screenshot2023-06-02at16_15_42.thumb.png.f9eb3174e1b7edc4d7e9659a9a91f651.png

3. You scale to double target size instead: 128x64, and rasterise

1505039930_Screenshot2023-06-02at16_15_56.thumb.png.f344494157ea7d6e5fbb675e23c03bc1.png

4. Then reduce again by factor 2 to target size 64x32px, and rasterise again: no blurriness

1530982227_Screenshot2023-06-02at16_16_21.thumb.png.b50ff99a240252021d015a58ca2cf2af.png

This is intended as workaround until Affinity might provide a better out-of-the-box way to rescale pixel art,

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.