Illya Selezen Posted April 20, 2023 Posted April 20, 2023 I'm creating a workspace of 2000x4000, but when I export it, I see that an additional 1 pixel has been added. In my case, this is a problem, as I need an exact value. Why is this happening? Quote
Staff NathanC Posted April 20, 2023 Staff Posted April 20, 2023 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 Quote
Illya Selezen Posted May 3, 2023 Author Posted May 3, 2023 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? Quote
Staff NathanC Posted May 3, 2023 Staff Posted May 3, 2023 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 Quote
JhonatanS Posted May 3, 2023 Posted May 3, 2023 @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.This is Quote
Alfred Posted May 3, 2023 Posted May 3, 2023 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. Quote Alfred 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)
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.