Jump to content
markw

Incorrect Pixel Dimensions from Designer Export Persona: Current MAS & Beta1.7

Recommended Posts

Hello all,
I noticed yesterday that both the current MAS and Beta versions of Affinity Designer will under some conditions output files of half the expected pixel dimensions than intended when using the Export persona.
This only seams to happen if the documents dpi is set to 144 or 192.

The attached test document is 34x60px (and contains 1 free chilli!)
Set the document's dpi to 144 or 192.
In the Export Persona, I set slice output options for x1 and x2 png.
The x1 output is 17x30px : expected size 34x60px
The x2 output is 34x60px : expected size 68x120px

Export Size Test v1.6MAS.afdesign


macOS 10.14.6  15" Macbook Pro, 2017  |  4 Core i7 3.1GHz CPU  |  Radeon Pro 555 2GB GPU + Integrated Intel HD Graphics 630 1.536GB  |  16GB RAM  |  Wacom Intuos4 M

Share this post


Link to post
Share on other sites

I'm not sure about your experience with a dpi of 192.

But for the 144dpi case, I think you're seeing an effect of Affinity's support of Mac Retina displays.

Most (that is, non-Retina) displays are 72dpi. When you have a dpi of 144 I think that Affinity assumes you're designing for a Retina display. At that point x1 produces a non-Retina result (1/2 the size of the design, assuming it will be used for a non-Retina purpose) and x2 produces the actual size.

(Exact details only approximate in this post; I don't have a Retina display and haven't actually played with this myself.)


-- Walt

Windows 10 Home, version 1909 (183623.476),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.8.3.641 and 1.8.4.650 Beta   / Affinity Designer 1.8.3.641 and 1.8.4.650 Beta  / Affinity Publisher 1.8.3.641 and 1.8.4.651 Beta.

Share this post


Link to post
Share on other sites

I wonder that too for a bit but then why dose Exporting from File > Export , which is basically @ x1, give image sizes of, in this example, 34x60px at 144 and 192 dpi?

As I say I'm only encountering this discrepancy in the Export Persona.


macOS 10.14.6  15" Macbook Pro, 2017  |  4 Core i7 3.1GHz CPU  |  Radeon Pro 555 2GB GPU + Integrated Intel HD Graphics 630 1.536GB  |  16GB RAM  |  Wacom Intuos4 M

Share this post


Link to post
Share on other sites

Hi both,

Sorry for the delayed reply

The slice export size ( 1x, 2x, 3x, etc) is linked with your document DPI. 1x is considered 72, and so on.

If your document DPI is set to 72, you will have the following for a 100px square

  • .5x - 50 x 50
  • 1x - 100 x 100
  • 2x - 200 x 200
  • 3x - 300 x 300

@144 dpi, you're basically working on 2x. So you will have:

  • .5x - 25 x 25
  • 1x - 50 x 50
  • 2x - 100 x 100
  • 3x - 150 x 150

@216 dpi, you're working on 3x

  • .5x - 16 x 16
  • 1x - 33 x 33
  • 2x - 66 x 66
  • 3x - 100 x 100

I hope this helps. 

Thanks,

Gabe. 

Share this post


Link to post
Share on other sites

Thank’s for the reply Gabriel. Appreciated:)
I confess though that I’m still confused:S by three things;
1: How dose Designer know what I want to use the output file for?
If I’ve made my image size X x Ypx that’s what I need and there is nothing in the documentation warning the user that they might get something smaller.
2: Why do I only see this downsizing of pixels with the Document preset dpi options of 144dpi and 192dpi?
3: Why dose File > Export work as I would expect with no automatic downsizing of an image at any Document dpi?

 


macOS 10.14.6  15" Macbook Pro, 2017  |  4 Core i7 3.1GHz CPU  |  Radeon Pro 555 2GB GPU + Integrated Intel HD Graphics 630 1.536GB  |  16GB RAM  |  Wacom Intuos4 M

Share this post


Link to post
Share on other sites
25 minutes ago, markw said:

3: Why dose File > Export work as I would expect with no automatic downsizing of an image at any Document dpi?

Because (I believe) the multi-size export capability based on document DPI is a function implemented only in the Export Persona.

The Export Persona and File > Export have different purposes and different capabilities.


-- Walt

Windows 10 Home, version 1909 (183623.476),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.8.3.641 and 1.8.4.650 Beta   / Affinity Designer 1.8.3.641 and 1.8.4.650 Beta  / Affinity Publisher 1.8.3.641 and 1.8.4.651 Beta.

Share this post


Link to post
Share on other sites

I am trying to understand @Gabe answer.

So ... in Affinity, 1x is always = screen DPI  ? ... and the slice panel tries to export the image inch size at xx screen resolution ?
So the formula is: Export pixels = xx * (Screen DPI / DocumentDPI) * pixels ?  

Share this post


Link to post
Share on other sites

Not exactly, but close.

  • If your document DPI si a multiple of 72, 1x is always 72.
  • If your document DPI is not a multiple of 72, the document DPI will be treated as 1x.

So, for example, if your document DPI is 150, a 100px square @ 1x will result in a 100px square. If you have the same 100px square on a 144dpi document, 1x will result in a 50 px square. 

Share this post


Link to post
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.


×
×
  • Create New...

Important Information

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | 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.