Jump to content

Export dimensions glitch


abra100pro

Recommended Posts

Not sure if this is the solution but your movie shows that you have the  Move by Whole pixels turned on for snapping which could result in the rectangles being made on but not quite a pixel location. Check your Transform panel for the x,y co-ordinates as well as the sizes. You may want to use the arrow keys while selecting the x, y and the w, h boxes to bump them up and down so they will be exactly pixels and not fractional values.

EDIT: I just noticed the Transform panel up in the top right (mine is always in the bottom right) You have fractions for size and location, change them to whole (integer) values.

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

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

Link to comment
Share on other sites

Thanks for the info - It wasn't the problem - I tried whole pixel values after my first post. I really wonder what it is with these fractions anyway - worst occurrence: having the artboard not exactly "on a pixel" has influence of the export-proportions - this is more than weird and makes no sense at all.

Link to comment
Share on other sites

The issue seems to relate to the arrows in the graphics.

Export Size

When you export the first graphic (on the left), at the point where you choose 'Selection without background' the size for the selected exported graphic, prior to you scaling it is 328px x 230px which makes sense because the 1pt stroke on your grey rectangle is set as 'Stroke to outside' so when allowing for the 2pt additional width and height together with the 'rounding' of the non integer X and Y coordinates of the grey rectangle this size is correct.

However, exporting your second graphic you'll note that when choosing 'Selection without background' the second graphic size is 360px x 230px (i.e. 32px wider) despite both grey rectangles being identically sized with their 1pt strokes set to 'Outside'.

This is the cause of the difference in the exported sizes between the two graphics when you are scaling the width to 800px wide, i.e. the source aspect ratios when 'Selection without background' is selected is different despite the actual grey recatangles being identical in size.

The cause appears to be the arrows, I'm assuming they've been created as lines with an Ending Arrow. When you uncheck the arrow layers for both graphics so they are no longer visible and repeat the exports, both graphics, when exported using the 'Selection without background' are identical in size and aspect ratio and therefore scale to the same size as well. When the arrows are visible, the greater the 'arrow' is scaled, the greater the width of the exported graphic, despite the arrow bounding boxes being contained within the grey rectangle. If you scale the arrows up, the exported graphic width increases.

If you 'Expand Stroke' for both arrows the problem goes away and both graphics again export at the same size, so the issue appears to be related to 'arrow scaling' which I assume is a bug?

Affinity Designer 2.5.5 | Affinity Photo 2.5.5 | Affinity Publisher 2.5.5
Affinity Designer Beta 2.6.0.2861 | Affinity Photo Beta 2.6.0.2861 | Affinity Publisher Beta 2.6.0.2861

MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

Link to comment
Share on other sites

First of all: Thanks for this comprehensive explanation! This is a lot of work and time, I know.

I already expanded the arrows. And (to serif:) If I explicitly place an box that is larger than all inside it - which is confirmed by selecting all and seeing, that all inside the mentioned rectangle has its bounding box inside the rectangle I really expect the width, height and proportion to be defined by this very rectangle in all applications of it.

And please: It makes absolutely NO sense to consider the X- and Y- values of the artboard on a canvas that has absolutely NO reference to whatever in the output/result. Please, Serif, remove this relation - it slows down my otherwise very fast workflow when designing with multiple artboards. Thanks!

So, yes, I consider this a bug, too.

Link to comment
Share on other sites

Simple example attached...

One rectangle sized at 650px x 450px with a stroke of 0.1pt aligned to the inside of the rectangle. Contained within the rectangle on individual layers are the following:

  1. a set of two green lines without arrows
  2. a set of two red lines with end arrows set to 100%
  3. a set of two red lines with end arrows set to 150%
  4. a set of two red lines with end arrows set to 200%

The bounding box for the lines/arrows is contained well within the bounding box of the rectangle in all cases.

Selecting the 'Rectangle' Group, containing all the elements and then exporting the rectangle together with each individual set of lines/arrows as either a PNG, JPEG, GIF or TIFF file whilst setting the Area to 'Select without background' results in the following exported sizes:

  1. the rectange with the two green lines without arrows - exported graphic is 650px x 450px
  2. the rectange with the two red lines with end arrows set to 100% - exported graphic is 658px x 450px
  3. the rectange with the two red lines with end arrows set to 150% - exported graphic is 746px x 468px
  4. the rectange with the two red lines with end arrows set to 200% - exported graphic is 834px x 556px

It appears that both adding and scaling end arrows is somehow increasing the bounding box for the lines with arrows so it is outside the bounding box for the rectangle (mathematically but not visually) which in turn is causing the exported graphics to be exported at the incorrect size. Since in each case bounding box for the lines/arrows is contained within the bounding box of the rectangle, all versions of the graphic should export to the same 650px x 450px size.

 

Arrows Bug.afdesign

 

Bounding Boxes.jpg

Affinity Designer 2.5.5 | Affinity Photo 2.5.5 | Affinity Publisher 2.5.5
Affinity Designer Beta 2.6.0.2861 | Affinity Photo Beta 2.6.0.2861 | Affinity Publisher Beta 2.6.0.2861

MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

Link to comment
Share on other sites

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.