Jump to content

Recommended Posts

  • Staff
Posted

Hi @Illya Selezen,

It's likely that your artboard was created with non-precise pixel dimensions, since it's not possible to export to with partially occupied pixels affinity will round the W/H values when it creates the slice to whole integers. In the Designer persona I would suggest selecting your artboard layer and then checking the W/H values in the transform panel and then setting them to a whole value.  Make sure that you have decimal places set to >1 for pixels under Edit -> Preferences -> User Interface so that decimals are visible.

When creating and transforming objects and artboards, to avoid running into partial pixel occupation it might be worth enabling 'Force Pixel Alignment' and turn off 'Move By whole pixels', more info below.

https://affinity.help/designer2/English.lproj/pages/DesignAids/pixelAlign.html

  • 2 weeks later...
Posted
On 20.04.2023 at 13:29, NathanC said:

Привіт@Ілля Селезень,

Цілком ймовірно, що вашу монтажну область було створено з неточними розмірами в пікселях, оскільки неможливо експортувати з частково зайнятими пікселями. Спорідненість округлятиме значення Ш/В, коли створюватиме фрагмент до цілих чисел. В образі дизайнера я б запропонував вибрати шар монтажної області, а потім перевірити значення W/H на панелі трансформації, а потім встановити для них ціле значення. Переконайтеся, що для пікселів у розділі «Редагування» -> «Параметри» -> «Інтерфейс користувача» встановлено значення десяткових знаків >1, щоб було видно десяткові коми.

Під час створення та трансформації об’єктів і монтажних областей, щоб уникнути часткової зайнятості пікселів, можливо, варто ввімкнути «Примусове вирівнювання пікселів» і вимкнути «Переміщення на цілі пікселі», докладніше нижче.

https://affinity.help/designer2/English.lproj/pages/DesignAids/pixelAlign.html

I created a 512x512 editing area and started to duplicate it, but on the first copy, the values changed to 513x512. Why did this happen?

Знімок екрана 2023-05-03 093551.png

  • Staff
Posted
37 minutes ago, Illya Selezen said:

I created a 512x512 editing area and started to duplicate it, but on the first copy, the values changed to 513x512. Why did this happen?

Could you compare the W/H values in the transform panel of your initial artboard vs the duplicated artboards? Make sure to have pixel decimal places set to a value greater than 1 under preferences > user interface.

Could you also provide the file where you did this?

Many thanks

Posted

@Illya Selezen When you have decimals on object transform in Affinity,  Affinity increases the number.

Even the options to move by whole pixel, it doesn't provide the best experience to solve this pixel increase issue, mainly when you work with many elements
and if you hold Alt it can literally apply the decimals.

I believe  Affinity could provide a better user experience in regard to the pixel alignment, like have a function to force all elements to be placed in pixel.

Since working with UI, we do always need to double-check the additional pixel and remove the decimals manually.

image.png.a0fe81e6c09cdf269571e58c0b04291c.png


image.png.89b0dc0f318aa454d450f31b97908431.pngThis is 

Posted
54 minutes ago, JhonatanS said:

I believe  Affinity could provide a better user experience in regard to the pixel alignment, like have a function to force all elements to be placed in pixel.

The Affinity apps do provide that option, via the ‘Force Pixel Alignment’ checkbox. Unfortunately (and counterintuitively, in my opinion) ‘Move By Whole Pixels’ takes precedence: if both options are switched on, then ‘Force Pixel Alignment’ is ignored/overridden.

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)

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.