Jump to content
THESE FORUMS ARE READ-ONLY: Please Read Me ×

Recommended Posts

Posted (edited)

Hey guys! As some of you know I use my Affity package to work with Pixel art. I retired my Photoshop.

I have a doubt. When I change the size of my canvas, it distorts my image, my pixel art. You know, pixel art is something very, very precise. In a larger image I could ignore this noise, but in pixel art it is not possible.

I would like to be able to change my canvas without changing the pixels of the image, is this possible?

I'll give an example to make it clearer. the first image is my pure image, and the second one is with the canvas resize applied. 

Thanks in advance for any help.

Captura de Tela 2024-05-20 às 20.05.13.png

Captura de Tela 2024-05-20 às 20.05.38.png

Edited by amoraleite
solved
Posted

My first question is, why are you resizing pixel art? (Won’t that make it more difficult to edit later?)

My second question is, are you resizing to integer multiples of the original dimensions. (For example, with a 100×200 image, if you aren’t resizing to 200×400, or 300×600, etc. then you will naturally have problems with sub-pixels.)

Posted
19 minutes ago, GarryP said:

if you aren’t resizing to [integer multiples of the original dimensions] then you will naturally have problems with sub-pixels

It looks as though there are already problems with sub-pixels before resizing!

IMG_1490.jpeg.d5d5443c8c660b315c61f0a7dceff05b.jpeg

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.5.1 (iPad 7th gen)

Posted

I hadn’t noticed that.

The OP said that it was a “pure image” which I (foolishly, perhaps) interpreted as being a simple pixel layer where each large square that we can see in the screen-grab was directly mapped to a single pixel but that doesn’t seem to be the case, unless there’s something else going on.

Looks like we need to know more about what the OP has, how they got it to where it is now, and what they are doing with it.

amoraleite: Can you share the original image so we can see what you are working with.

Posted
11 hours ago, amoraleite said:

When I change the size of my canvas, it distorts my image, my pixel art.

Menu Document, Resize Canvas (without Aspect ratio), not Resize Document?

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.5.7.2948 (Retail)
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Posted

Hey guys!

Firstly:
I never said I wanted to resize the pixel art. I even reread it again to see if I had written something wrong... I use Aseprite to create my pixel art and there I multiply it to the exact size I want.

We are talking about canvas here. You know? That work area where the art stays. In Photoshop, we can resize the canvas without affecting the internal image, the art.

Second, in response to the pixel art issues, what does this have to do with resizing the canvas? But for you to understand, I have multiple arts resized by 500% and repositioned one on top of the other, layers, (I still have to readjust their positions). This art will be printed on paper, not for monitors. When I said pure, I meant not resized within the AP, as I said I do this in another program.

I understand the problem:
When I change the size of the canvas (not the image size or document size) the image moves and it loses its original pixel position. So we have a distortion. To solve it you have to reposition the pixel on the canvas and the problem will go away. But this is counterproductive, since I just want to change the size of the canvas.

  • Staff
Posted

Hi @amoraleite,

I have not been able to replicate the issue with the image changing size when the resize canvas option is used, can you please confirm that the background/image layer is selected and which anchor point are you using for the resize.

Posted
6 minutes ago, DWright said:

Hi @amoraleite,

I have not been able to replicate the issue with the image changing size when the resize canvas option is used, can you please confirm that the background/image layer is selected and which anchor point are you using for the resize.

Hi @DWright! Of course mate! Thanks for trying to reproduce!

No layers selected and my anchor is center: 
image.png.00fb020d7532a0412c73281611c939f6.png


I'll show to you two images, one is the original without canvas resize and the other with the canvas resize applied.
OX.png.416ca5411d372312f9b73fa35c56f7eb.png

CapturadeTela2024-05-21s07_43_08.png.b7eb9c1ce3167d11168b4d4600719ab0.png

One important thing to say, these images will be printed, so I'm having to work with inches.

To solve this I have to position the art on the canvas. There is! Another very important thing, I tried to use the force feature to align the pixels and move the whole pixel too... not work for me. 

But when I move the image, the strange pixels disappear:
image.png.0cf833c2abead18c41861bc3721ed7fb.png
In this case I only moved the ship, the scenery and the other things I didn't move, see how the strange pixels on the ship disappeared when I moved the image. I'm going to make a video about this.
 

Posted
38 minutes ago, amoraleite said:

But when I move the image

The problem is that you have the anchor placed in the middle. For pixel perfect, I would use the top left anchor.

39 minutes ago, amoraleite said:

One important thing to say, these images will be printed, so I'm having to work with inches.

Checking the exact (integer) pixel/image position in inches is impossible. Therefore for pixel perfect, I would always work in pixels, and only for printing and checking the size would I switch to inches.

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.5.7.2948 (Retail)
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

  • Staff
Posted
20 minutes ago, Pšenda said:

The problem is that you have the anchor placed in the middle. For pixel perfect, I would use the top left anchor.

Checking the exact (integer) pixel/image position in inches is impossible. Therefore for pixel perfect, I would always work in pixels, and only for printing and checking the size would I switch to inches.

He can still use the anchor placed in the middle but may have to move the layer slightly to force its alignment with the pixel grid.
Keeping the top left anchor makes things a bit easier.

The process goes like this:
- go to menu Document > Resize Canvas
- set the anchor to middle
- set the dimensions you want in inches or cm (click the other field to update the value proportionately)
- still in the same dialog after inserting the dimensions in inches or cm change the units to pixels
- remove the link between width and heigh fields (so you can round one of the values without affecting the other)
- remove the decimal parts from the pixel values
- click Resize buton

With the anchor set to the middle, the output may be misaligned. To fix it make sure Force Pixel Alignment is turned ON (and Move By Whole Pixels turned OFF) and with the Move Tool move the layer/object on canvas a bit until it aligns with the pixel grid. It should become sharp again.

Posted

@Pšenda Worked! When I placed the anchor top left corner. But unfortunately I need gain area on the all sides of my canvas. But you workaround work for me, I have to move all the layer to the center... 

6 minutes ago, Pšenda said:

Checking the exact (integer) pixel/image position in inches is impossible. Therefore for pixel perfect, I would always work in pixels, and only for printing and checking the size would I switch to inches.

This is exactly what I doing. I work on Aseprite. AP is just for print : ) But sometimes we need to adjust the canvas or reposition an image, in this case I have all the art in layers so I can replace and move these images easily.

Posted
4 hours ago, amoraleite said:

No layers selected and my anchor is center: 

I would use Pixels as a unit of measure instead of cm. The metric system doesn't work well with Pixels and Pixels per Inch.

Mac Pro (Late 2013) Mac OS 12.7.6 
Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Posted

I agree. But your answer is outside of my question. Sorry, but I asked about changing the canvas size and an issue with the position of the art on this canvas. I think your answer concerns resizing. Please read what I wrote above. But thanks anyway.

×
×
  • 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.