Pligus Posted November 30, 2021 Posted November 30, 2021 Hi. I have an artboard size 1024x1024 http://joxi.ru/ZrJOjanCMwexEm But when i try to export image the artboard size become 1025x1024 http://joxi.ru/KAg7JxnUXEeypA , +1px on width. Why? How can i export in size that artboard have? Quote
User_783649 Posted November 30, 2021 Posted November 30, 2021 In app settings, user interface tab, please check the number of decimals for pixels. Quote
Pligus Posted November 30, 2021 Author Posted November 30, 2021 8 minutes ago, Alex M said: In app settings, user interface tab, please check the number of decimals for pixels. Could you make a screen? i didn't understand where it is Quote
User_783649 Posted November 30, 2021 Posted November 30, 2021 Decimal Places for Unit Types – Pixels Quote
Alfred Posted November 30, 2021 Posted November 30, 2021 25 minutes ago, Pligus said: when i try to export image the artboard size become 1025x1024 http://joxi.ru/KAg7JxnUXEeypA The size shown is the size of the export slice, which will be affected by non-integer values for the artboard coordinates or size. The artboard size itself doesn’t change. By the way, instead of linking to pages on an external site which may become unreachable, it’s better to attach screenshots directly to your post here. 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)
Pligus Posted November 30, 2021 Author Posted November 30, 2021 51 minutes ago, Alex M said: Decimal Places for Unit Types – Pixels Quote
Pligus Posted November 30, 2021 Author Posted November 30, 2021 But how can i export 1024x1024? Quote
User_783649 Posted November 30, 2021 Posted November 30, 2021 @Pligus Try set Pixels value to 2 in this section of user interface preferences. Just to see what happens. It may turn out you have something like 1024.07 in any of your width/height properties of that artboard. Quote
Pligus Posted November 30, 2021 Author Posted November 30, 2021 3 hours ago, Alex M said: @Pligus Try set Pixels value to 2 in this section of user interface preferences. Just to see what happens. It may turn out you have something like 1024.07 in any of your width/height properties of that artboard. Sry, but nothing has happened Quote
Dan C Posted November 30, 2021 Posted November 30, 2021 4 hours ago, Alfred said: The size shown is the size of the export slice, which will be affected by non-integer values for the artboard coordinates or size. The artboard size itself doesn’t change. As Alfred has mentioned, you need to make sure that the Artboard is located and sized on full-integer values before creating and exporting your slice. Can you provide a copy of your Affinity document, so that we can check this and offer advice on how to resolve the issue? Many thanks in advance Alfred 1 Quote
Pligus Posted November 30, 2021 Author Posted November 30, 2021 53 minutes ago, Dan C said: As Alfred has mentioned, you need to make sure that the Artboard is located and sized on full-integer values before creating and exporting your slice. Can you provide a copy of your Affinity document, so that we can check this and offer advice on how to resolve the issue? Many thanks in advance Yes, please) Untitled436.afdesign Quote
Staff MEB Posted November 30, 2021 Staff Posted November 30, 2021 Hi @Pligus, Open your document (the one you provided above), in Designer Persona select the Move Tool, click the Artboard1 layer that's currently visible in the Layers panel (to select it) and look at the Transform panel - you will see that the X coordinate is 5637,3 px. Delete the ,3 part (and press Enter to accept the change) so the X coordinates is now an integer value (5637) then export the artboard as usual. It should export with the correct dimensions (1024x1024px). If you encounter similar issues with the other artboards check their X and Y coordinates and make sure they are all integer values deleting the fractional part from the coordinates as described above. User_783649 and Dan C 1 1 Quote A Guide to Learning Affinity Software
User_783649 Posted November 30, 2021 Posted November 30, 2021 Also it might be useful to check the Snapping settings (sometimes you need to set Force Pixel Alignment option to be on and Move by Whole Pixels to be off) just to make sure you will always have your artboards placed on exact pixels in future. This will help you to avoid such situations as you described in first post. At the same time, I believe, artboards should always be auto positioned on whole pixel values in documents with pixels chosen as units. It should be default application behavior for artboards in such documents. Arte 1 Quote
Pligus Posted November 30, 2021 Author Posted November 30, 2021 2 hours ago, MEB said: Hi @Pligus, Open your document (the one you provided above), in Designer Persona select the Move Tool, click the Artboard1 layer that's currently visible in the Layers panel (to select it) and look at the Transform panel - you will see that the X coordinate is 5637,3 px. Delete the ,3 part (and press Enter to accept the change) so the X coordinates is now an integer value (5637) then export the artboard as usual. It should export with the correct dimensions (1024x1024px). If you encounter similar issues with the other artboards check their X and Y coordinates and make sure they are all integer values deleting the fractional part from the coordinates as described above. Thx, a lot. It is work! But i didn't understand why the position affect on export size. It's a bug or feature? Quote
Pligus Posted November 30, 2021 Author Posted November 30, 2021 2 hours ago, Alex M said: Also it might be useful to check the Snapping settings (sometimes you need to set Force Pixel Alignment option to be on and Move by Whole Pixels to be off) just to make sure you will always have your artboards placed on exact pixels in future. This will help you to avoid such situations as you described in first post. At the same time, I believe, artboards should always be auto positioned on whole pixel values in documents with pixels chosen as units. It should be default application behavior for artboards in such documents. Thank you!) In future i will do as you say) Quote
Staff MEB Posted November 30, 2021 Staff Posted November 30, 2021 2 minutes ago, Pligus said: Thx, a lot. It is work! But i didn't understand why the position affect on export size. It's a bug or feature? It's a bug. The position (X,Y coordinates) should not affect the export size and it does NOT affect it if you use File > Export however it still affects the export size if you use the Export Persona/slices. It's a bit more complicated to fix the issue in the Export Persona so for now make sure you adjust the coordinates if they have fractional values. Quote A Guide to Learning Affinity Software
Arte Posted December 1, 2021 Posted December 1, 2021 On 11/30/2021 at 4:02 PM, Alex M said: At the same time, I believe, artboards should always be auto positioned on whole pixel values in documents with pixels chosen as units. It should be default application behavior for artboards in such documents. I agree with this, if the document units are pixels then it should autoposition on whole (integer) pixel values to avoid this issue though it seems that 1.10.4 is doing exactly that if artboards are inserted when documents units are set to pixels. Force pixel alignment is turned off but move by whole pixels is on and it automatically aligns to whole pixel values when inserting a new artboard. It may not happen if document units are changed to pixels later depending on force alignment/move by whole pixel settings being on or off. However... artboards are not rounded to integer pixel values and that is what should happen, either automatically as an option to round up/down to the nearest integer value or by having an option that will ask you if you want to round the artboard size to whole/integer pixel values and whether you want to round up or down. E.g. using an A4 document size in pixels will by default generate pixels with decimal values which doesn't make sense from a practical ViewPoint. User_783649 1 Quote
Staff MEB Posted December 2, 2021 Staff Posted December 2, 2021 Hi @Arte, Please see my reply above. The artboard's position is irrelevant if you use File > Export, no matter if the artboard is aligned or not to the pixel grid - this was fixed some time ago. Only in Export Persona this is still an issue (fixing things here is more complicated) however if you enable Force Pixel Alignment only (NOT Move by whole pixels - that's for something else and actually could make things worst because it keeps the fractional values when you move artboard(s) if the artboard already has fractional X,Y values) you an easily align the artboards to the pixel grid simply moving them a little bit. Quote A Guide to Learning Affinity Software
Pligus Posted December 15, 2021 Author Posted December 15, 2021 Hi, i have a new question about export in affinity Designer. I have an artboard with dimension 1284x2778px, but when i switched to Export Persona the dimension to export become 1296x2790. Quote
Pligus Posted December 15, 2021 Author Posted December 15, 2021 In Affinity Designer "Move by Whole Pixels" didn't work, when i copy artboard by drag-and-drop Quote
walt.farrell Posted December 15, 2021 Posted December 15, 2021 1 hour ago, Pligus said: I have an artboard with dimension 1284x2778px, but when i switched to Export Persona the dimension to export become 1296x2790. Do you have Bleed assigned? Check File > Document Setup. Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 18.3, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1
User_783649 Posted December 15, 2021 Posted December 15, 2021 On 11/30/2021 at 6:02 PM, Alex M said: you need to set Force Pixel Alignment option to be on and Move by Whole Pixels to be off) just to make sure you will always have your artboards placed on exact pixels On 12/2/2021 at 2:55 PM, MEB said: enable Force Pixel Alignment only (NOT Move by whole pixels - that's for something else and actually could make things worst because it keeps the fractional values when you move artboard(s) if the artboard already has fractional X,Y values) Solution for avoiding fractional values was already given to you at least twice here in this thread. Quote
walt.farrell Posted December 15, 2021 Posted December 15, 2021 55 minutes ago, Pligus said: In Affinity Designer "Move by Whole Pixels" didn't work, when i copy artboard by drag-and-drop What other Snapping options do you have set? For example, do you have Move by Whole Pixels enabled? If so, you should probably turn it off. Also, you can't "copy" an artboard by just using drag-and-drop; you'd need a modifier key. Ctrl (Cmd on Mac, probably) will copy. Alt (Opt on Mac, probablyt) will copy, but will also override snapping. Which modifier key did you use? Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 18.3, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1
Pligus Posted December 15, 2021 Author Posted December 15, 2021 1 hour ago, walt.farrell said: Do you have Bleed assigned? Check File > Document Setup. Hi) No, i haven't. 0 px for all sides. Quote
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.