Jump to content
You must now use your email address to sign in [click for more info] ×

Exported PNG has "Physical pixel dimensions" (pHYs) set


Recommended Posts

Dear Affinity support team,

when editing SVG files and exporting the result as PNG, we noticed that the PNGs have the pHYs section set:

https://www.w3.org/TR/2003/REC-PNG-20031110/#11pHYs

In our case:

pixel_units: meters

pixels_per_unit_x: 5669

pixels_per_unit_y: 5669

 

As we use Affinity Designer for designing icons for several applications, this section must not be set (plain pixel grapic). Some controls of our applications (WPF/WinForms) have problems rendering the PNGs (DPI/scaling issues) when the pHYs section is set. We already tried several exporting options. Ideally, we would export as PNG-8 (dithered) with no ICC profiles embedded and without metadata to achieve the smallest possible file size.

Is this a bug or are there any options we missed?

 

With kind regards,

Kersten

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.