Jump to content

Recommended Posts

Posted

why did my dimension and color format change after I saved it on PNG in Affinity Designer 2? I saved my file (Document Setup) with dimensions 22x240 inches and color format on CMYK. After I saved and exported, my file changed to 10x110 inches, and the color format back to RGB

Posted

Hi @T-Bali and welcome to the forums,

The PNG file format doesn't support CMYK so you'd be better off using either JPG or TIFF.

With regards to the exported size, despite there being no technical limit to the dimensions of a PNG file, unlike JPEG files which have a maximum width and height of 65,535 pixels, different software may apply restrictions for practical reasons such as memory.

It appears as though Affinity apps apply a maximum width and height of 32,767 pixels (half that for JPEG files) which seems a little odd but explains why your exported file is only 10 x 109.2 inches when exported...

PNGExportSize.png.7e18013050ddbd1ad33b9a7b3bed7ec1.png

A 300 dpi document of 22 x 240 inches is 6,600 px x 72,000 px

With the Restriction Applied by Affinity Apps

32,767 / 72,000 = 45.5% therefore

22" x 45.5% = 10" and 240" x 45.5% = 109.2"

Affinity Designer 2.6.3 | Affinity Photo 2.6.3 | Affinity Publisher 2.6.3
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

Posted
13 minutes ago, Hangman said:

It appears as though Affinity apps apply a maximum width and height of 32,767 pixels (half that for JPEG files) which seems a little odd but explains why your exported file is only 10 x 109.2 inches when exported...

This is due to Affinity using an old Window GDI API having this limit.

i don't understand why affinity never used a different export routine, especially on non-windows platforms.

 

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted
39 minutes ago, NotMyFault said:

This is due to Affinity using an old Window GDI API having this limit.

i don't understand why affinity never used a different export routine, especially on non-windows platforms.

Interesting, thanks for the link... I'm somewhat surprised as well since this is, as far as I can tell, a Windows 32-bit limitation. I think my expectation would be, certainly on macOS that the limitation wouldn't apply...

Affinity Designer 2.6.3 | Affinity Photo 2.6.3 | Affinity Publisher 2.6.3
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

Posted
8 hours ago, Hangman said:

A 300 dpi document of 22 x 240 inches is 6,600 px x 72,000 px

With the Restriction Applied by Affinity Apps

32,767 / 72,000 = 45.5% therefore

22" x 45.5% = 10" and 240" x 45.5% = 109.2"

On my Mac, I don't even get proportional reduced scaling so for instance, if I try  6,600 px x 72,000 px on one of my 1920x1280 single layer jpeg files opened in AP, I get a very distorted 3003 × 32767 px png. The export takes about 10 seconds to complete, & the progress bar does not appear until it is almost complete.

Also, it seems hit or miss if I get the warning message or not.

So it seems very buggy as well as being an unnecessary & arbitrary restriction.

All 3 1.10.8, & all 3 V2.6 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
35 minutes ago, R C-R said:

…if I try 6,600 px x 72,000 px on one of my 1920x1280 single layer jpeg files opened in AP, I get a very distorted 3003 × 32767 px png.

I’m not sure I follow in as much as 1,920 x 1,280 doesn’t have the same aspect ratio as 6,600 x 72,000 but…

  • 6,600 px x 45.5% = 3,003 px
  • 72,000 px x 45.5% = 32,767 px

Note: The actual percentage is closer to 45.50972222222222%

I’ve not tested in detail but I certainly see the warning message when exporting a 22 x 240 inch, 300 dpi file to PNG in both v1 and v2.

Affinity Designer 2.6.3 | Affinity Photo 2.6.3 | Affinity Publisher 2.6.3
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

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.