Jump to content

Recommended Posts

Posted

Hi! I have reaally annoying issue.

I created a file. Basically 2 identical artboards 160 px height.  When I export it says it will be 161 and it draws weird line above and below my image

Artboards dont contain decimals in any size or location

Please help.

I pinned  everything to my post

edit:

i tried to export both artboards to psd one by one. yellow one turned out 159 px and green 160px

2020-01-14_14-19-23.png

2020-01-14_14-20-12.png

Банер мебель для спальни.afdesign

Posted
30 minutes ago, shustovcreates said:

Artboards dont contain decimals in any size or location

Not true. The Y position of your Беларусь 2 artboard is (to 3 decimal places) located at 221.517 px. Change that to an integer number like 221 or 222 px & it will export at 160 px height.

Just guessing but you probably have "Decimal Places for Unit Types" in Preferences > User Interface set to 0 (zero) for pixel units. That UI preference only determines how many decimal places will be displayed in the UI, so if it is set to zero in the Transform panel & other places you will just see the values  rounded off to the nearest whole pixel.

If you do not want to change this preference, one way to avoid this is to explicitly enter an integer number of pixels in the Transform panel (like 221 or 222).

All 3 1.10.8, & all 3 V2.5.7 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
A
ll 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Posted

What R C-R says is correct, but feels wrong (to me). I mean, the size of the artboard is correct, so why is the position important? If I place an element on a A4 page and export the selection the position on the A4 is irrelevant.

------
Windows 10 | i5-8500 CPU | Intel UHD 630 Graphics | 32 GB RAM | Latest Retail and Beta versions of complete Affinity range installed

Posted
1 hour ago, R C-R said:

Not true. The Y position of your Беларусь 2 artboard is (to 3 decimal places) located at 221.517 px. Change that to an integer number like 221 or 222 px & it will export at 160 px height.

Just guessing but you probably have "Decimal Places for Unit Types" in Preferences > User Interface set to 0 (zero) for pixel units. That UI preference only determines how many decimal places will be displayed in the UI, so if it is set to zero in the Transform panel & other places you will just see the values  rounded off to the nearest whole pixel.

If you do not want to change this preference, one way to avoid this is to explicitly enter an integer number of pixels in the Transform panel (like 221 or 222).

Ok..Thanks. the situation was:

1 file was created on ipad. as i aware, ipad doesnt have this decimal mess in it. so i cant even tweak. 

2 i find out that affinity wrecks my export again. Im already aware of this unreasonable feature of decimals. 

3 load this file on desktop. my desktop has correct settings. but it doesnt help. it still doesnt work. it shows 222 instead of correct  221.517

2020-01-14_16-10-58.png.09b0561d257189a0f18f5975c9003557.png

4 after your reply, i just re-typed artboard position manually to 222 and it fixes itself.

i  would love to get devs response to this. this is unreasonable, why would i even care about such stuff. every time i use affinity for business it messes up in most unexpected places =(

Thank you @R C-R

Posted
8 minutes ago, shustovcreates said:

load this file on desktop. my desktop has correct settings. but it doesnt help. it still doesnt work. it shows 222 instead of correct  221.517

2020-01-14_16-10-58.png.09b0561d257189a0f18f5975c9003557.png

 

As R C-R suggested, you should adjust the setting for Pixels to 3. That would let you see the issue on your desktop application.

As for the iPad application, appropriate Snapping options should enable you to create your artboards on the proper pixel boundaries, and with appropriate pixel sizes. But if you're having problems you could respecify sizes and locations in the Transform panel to make sure they're correct.

-- 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.2.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Posted
10 minutes ago, walt.farrell said:

As R C-R suggested, you should adjust the setting for Pixels to 3. That would let you see the issue on your desktop application.

As for the iPad application, appropriate Snapping options should enable you to create your artboards on the proper pixel boundaries, and with appropriate pixel sizes. But if you're having problems you could respecify sizes and locations in the Transform panel to make sure they're correct.

I guess you right. I wanted to make it zero but because ipad still lacks this weird functionality I wouldnt be able to track if something is wrong

Posted
56 minutes ago, shustovcreates said:

I wanted to make it zero but because ipad still lacks this weird functionality I wouldnt be able to track if something is wrong

As I mentioned earlier, you can explicitly enter integer values for these values in any of the Affinity apps. For example, in the iPad version of Designer, tap the Transform Studio icon, & then tap any of the Dimension or Position buttons to bring up the keypad. Using that, you could set the artboard Y position to exactly 221 or 222 px.

All 3 1.10.8, & all 3 V2.5.7 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
A
ll 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Posted
1 hour ago, Joachim_L said:

What R C-R says is correct, but feels wrong (to me). I mean, the size of the artboard is correct, so why is the position important?

It probably feels wrong to you because you are not considering all the export options, specifically the Area > "Whole document" one....

All 3 1.10.8, & all 3 V2.5.7 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
A
ll 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

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.