machineboy Posted June 30, 2019 Share Posted June 30, 2019 AP is great, but for pixel art it's lacking a very basic feature: a nearest neighbor/hard pixel scale mode option when scaling layers, objects and text. Right now AP is not suitable for retaining the look of pixel art when working with layers and text, and would make a great addition since it's already so good at everything else! MÅNEMANN, mattaudio, ElementLee and 1 other 2 2 Quote Link to comment Share on other sites More sharing options...
Aammppaa Posted June 30, 2019 Share Posted June 30, 2019 Hi machineboy and welcome to the forum, Does turning on Nearest Neighbour in Preferences > Performance > View Quality achieve what you are after? And when exporting, ensure you choose Nearest Neighbour in your output format too. Quote Win10 Home x64 | AMD Ryzen 7 2700X @ 3.7GHz | 48 GB RAM | 1TB SSD | nVidia GTX 1660 | Wacom Intuos Pro Link to comment Share on other sites More sharing options...
fde101 Posted June 30, 2019 Share Posted June 30, 2019 I think he is looking for something more like Document -> Resize Document, but for only the selected layer. @machineboy, consider also Filters -> Distort -> Pixelate... and welcome to the forums! Quote Link to comment Share on other sites More sharing options...
Aammppaa Posted June 30, 2019 Share Posted June 30, 2019 But turning on nearest neighbour allows manipulation of layers using a nearest neighbour algorithm - is that not what is required? If not, then I guess I need an example. Quote Win10 Home x64 | AMD Ryzen 7 2700X @ 3.7GHz | 48 GB RAM | 1TB SSD | nVidia GTX 1660 | Wacom Intuos Pro Link to comment Share on other sites More sharing options...
machineboy Posted July 1, 2019 Author Share Posted July 1, 2019 Setting the view quality to Nearest Neigbour does not affect layer scaling. Also, it's impossible to create non-aliased text with AP without a proper nearest neighbour mode. Raserizing a pixelart image layer smooths it to oblivion, so unfortunately in its current state it's not possible to work with pixel art layers and text in Affinity (Pixelate filter is not viable since it doesn't remove the aliased pixels which ruins pixel art). An example included, with 1. Original sprite 2. Scaled up with yucky aliasing 3. Horrible mush when rasterizing layer MÅNEMANN 1 Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted July 1, 2019 Share Posted July 1, 2019 6 hours ago, machineboy said: Also, it's impossible to create non-aliased text with AP without a proper nearest neighbour mode. Raserizing a pixelart image layer smooths it to oblivion, so unfortunately in its current state it's not possible to work with pixel art layers and text in Affinity It is my belief (possibly wrong, of course) that text in Photo is a vector format. As such, it would not become pixels in the document until you export to a raster format (PNG, etc.). At the time you export I would think that the nearest-neighbor resampling option would help you. (Note: Unlike Designer, Photo always displays in pixel mode, as it is intended for working with raster images. That can make text appear pixelated when you zoom in Photo, because the display is pixel mode. Until it is exported I don't think you'd really know how it will look, and again, the resampling you choose during export may be a determining factor. Again, my understanding may be flawed ) Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. iPad: iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1 Link to comment Share on other sites More sharing options...
ElementLee Posted April 4, 2020 Share Posted April 4, 2020 On 7/1/2019 at 3:37 PM, machineboy said: Setting the view quality to Nearest Neigbour does not affect layer scaling. Also, it's impossible to create non-aliased text with AP without a proper nearest neighbour mode. Raserizing a pixelart image layer smooths it to oblivion, so unfortunately in its current state it's not possible to work with pixel art layers and text in Affinity (Pixelate filter is not viable since it doesn't remove the aliased pixels which ruins pixel art). An example included, with 1. Original sprite 2. Scaled up with yucky aliasing 3. Horrible mush when rasterizing layer Totally agreed and looking forward for this problem solved~ Quote Link to comment Share on other sites More sharing options...
Medical Officer Bones Posted April 5, 2020 Share Posted April 5, 2020 I did a quick test, and even scaling down to 50% results in mush. I turned on all the pixel snapping options, and switched to Nearest Neighor. This is what I would expect (not attainable in Affinity - I had to resort to other alternatives): This is Affinity Photo: The top one is scaled layer (non-destructive). It is bad. This is a reduction of the original by 50% - and any image / pixel editor should pass this test with flying colours in my opinion: it is a simple reduction of the larger character to half pixels. Affinity fails badly here. I tested this for fun in a number of image editors. The results are interesting: - Photoshop (CS2), Gimp, and Affinity Photo produce similar 50% scale down results: all a mess. - Irfanview and ProMotion NG deal a little better with this move. (not shown here) - Krita and PhotoLine generate a good result (identical to the first one shown above). The third one is the rasterized layer version in Affinity Photo, and it is completely unacceptable.. Not only is the transparency automatically trimmed (even when Rasterize without the trim function is selected), for some inexplicable reason Affinity Photo decides to resample the graphic, and the result is an anti-aliased mess. Anyway, definitely room for improvement as far as Affinity Photo is concerned. ElementLee 1 Quote Link to comment Share on other sites More sharing options...
ElementLee Posted April 5, 2020 Share Posted April 5, 2020 (edited) The text tool also lacks nearest neighbor render mode. However Affinity Publisher is the best pixel-perfect supporting publishing software I ever met. 👍But even in publisher, when switch to in-editor PHOTO , the image will unexpectedly turned blured.😂 Edited April 5, 2020 by ElementLee Quote Link to comment Share on other sites More sharing options...
Frozen Death Knight Posted April 5, 2020 Share Posted April 5, 2020 Would be nice if they added different rendering options when transforming like in Photoshop. In the meantime I would suggest using Resize Document and increase the size of the canvas with Nearest Neighbour activated. Quote Link to comment Share on other sites More sharing options...
Myrddin Emrys Posted May 27, 2020 Share Posted May 27, 2020 (edited) I agree that this is a problem. Here is another example, this time working with icons. I'm attempting to resize a large vector down to a 16x16 icon. Using the Pixelate filter I got an excellent result (unsurprising, because the icon was designed to be resizable, and the original art was 16x16), but I can't get Photo to output that excellent result to an actual icon-sized file. Original vector icon: Pixelate filter applied. Cropped and aligned closely to a 16x16 grid. Currently sized at 840x840. No Affinity Photo; that's not what 'Nearest Neighbor' means. 😞 Imgur Album link Edited May 27, 2020 by Myrddin Emrys Adding link to album. mattaudio 1 Quote Link to comment Share on other sites More sharing options...
BitBull Posted October 18, 2021 Share Posted October 18, 2021 Just adding my vote to this. Loving Affinity Photo generally but, as someone who works with a lot of pixel art, this feature is sorely needed. Ideally we need to ability to turn on 'nearest neighbour' as a raster option per layer (aka After Effects), failing that there at least needs to be the option to select which algorithm is used globally for rasterizing layers. Quote Link to comment Share on other sites More sharing options...
Artturi Posted January 27, 2022 Share Posted January 27, 2022 I'm also trying to search an answer to this problem. Just adding my comment here so that who ever is working with the tickets(?) or forum posts, will see that people are still searching this feature. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.