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

Some part are missing while exporting to png files


Recommended Posts

Hi 
My vers 1.10.6.1665

I am trying to export my Illustration to png files but didn't work.
It can't fully export the whole images. Some part are missing and I don't understand why. 

Do you have any idea why or how to fix this?


Thanks
MW

AFD PNG Export problem.PNG
 

kids error.afdesign



**I've got the answer guys,
I just change from PNG-8 to PNG, and everything works well 😁
Thank you so much for replying ! 

image.png.63341cb81976c6d34fb7db9cd461c3b0.png

 

Edited by may23
I figure it out
Link to comment
Share on other sites

Welcome to the forum @may23 odd, I can export to png fine.

Fig .1 png file 8bit dithered from Affinity designer V1.10.6
image.thumb.png.02c524580616502c679de0bf67690309.png

 

Maybe show your png export settings.

iMac 27" 2019 Somona 14.3.1, iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

Does this file export correctly in any other format on your system?

If so, try exporting to PDF or TIFF or SVG and then opening one of those formats in Affinity Designer v1 and seeing if it exports to png 8bit dithered correctly. 

iMac 27" 2019 Somona 14.3.1, iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

As you are using a palletized export, i would recommend to add a rectangle in white as bottom layer, or use the matting option in export.

For me it exports correctly on iPad with V1. 

You may try to deactivate HW acceleration in Preferences.

Mac mini M1 A2348

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

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.

 

Link to comment
Share on other sites

4 minutes ago, NotMyFault said:

You may try to deactivate HW acceleration in Preferences.

Nothing to do with it. The parts are missing ONLY when using "Selection Only" in the export dialogue. So the OP can work around by adapting the artboards size to the content or using "Selection Area".

----------
Windows 10 / 11, Complete Suite Retail and Beta

Link to comment
Share on other sites

16 minutes ago, firstdefence said:

Welcome to the forum @may23 odd, I can export to png fine.

Fig .1 png file 8bit dithered from Affinity designer V1.10.6
image.thumb.png.02c524580616502c679de0bf67690309.png

 

Maybe show your png export settings.


Thanks for replying,

Here are my export setting.
1921775455_AFDPNGExportproblem2.PNG.16957280a19354f922f9905b37148710.PNG

I just want to export it without the white background. Only the character. But doesn't work when I choose "Selection Only".
I already try to export to another format as you suggested. It works but it is just like JPEG files, where the white Background still appears.

 

 

19 minutes ago, NotMyFault said:

As you are using a palletized export, i would recommend to add a rectangle in white as bottom layer, or use the matting option in export.

For me it exports correctly on iPad with V1. 

You may try to deactivate HW acceleration in Preferences.

Thanks for replying,
Seems I cant find the "matting" option in export. 
When you export it does the white background also there? I don't want the white background. 
My HW acceleration is off

 

 

16 minutes ago, joe_l said:

Nothing to do with it. The parts are missing ONLY when using "Selection Only" in the export dialogue. So the OP can work around by adapting the artboards size to the content or using "Selection Area".

Yes. You're right. I use "Selection Only" in the export dialogue. I tried using the Selection Area but it still show the white background.
Thanks for replying

Link to comment
Share on other sites

Go to File > Document setup... Colour Tab and check Transparent Background

image.png.82a615c78b95f335bcaa6275e161f73a.png

That should give you a transparent background for export.

iMac 27" 2019 Somona 14.3.1, iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

Standard png is your best option with transparency included and a smallish file size, albeit almost 3 times the size of a palletised export with approximate file sizes for none palletised being 480kb vs 178kb for palletised.

You could use online or offline image compress apps and you will be able to get the file size down considerably if that is needed.

Settings for imageoptim: https://imageoptim.com/mac
General
image.png.d0d694c0a8250350b2dffc31e73a8e98.png

Quality
image.png.b1e3a9e757c8193b43f3a34fddabf740.png

Optimisation Level
image.png.90270e4753e828087fe6144e16cd06c6.png

Windows users can use: https://pnggauntlet.com/

iMac 27" 2019 Somona 14.3.1, iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

This looks like a bug and it's the same in V2... Pixel values that are showing as transparent on the 8-bit version have identical colour values to other areas that are not shown as transparent, e.g., the yellow t-shirt, dress and legs...

As others have mentioned, exporting as a 24 bit PNG works as expected and doesn't demonstrate the issue...

If it is essential for the file to remain in 8 bit then you could edit in Photo (if you have access to Photo), make an alpha selection from the channels palette and load it as a pixel selection to a new pixel layer and then give it a white fill and place this layer behind your graphic.

That way you will be able to successfully export it as an 8 bit PNG with background transparency.

This is how you could achieve this (Note: I'm using V2 for the screen recording but the process is identical in V1)... obviously if file size is the key issue  select the layer in the Layers Panel first and use Selection Only when exporting to reduce the exported dimensions of the exported file to that of just the graphic...

 

Affinity Designer 2.3.1.2217 | Affinity Photo 2.3.1.2217 | Affinity Publisher 2.3.1.2217
Affinity Designer Beta 2.4.0.2294 | Affinity Photo Beta 2.4.0.2294 | Affinity Publisher Beta 2.4.0.2294

Affinity Designer 1.7.3 | Affinity Photo 1.7.3 | Affinity Publisher 1.10.8
MacBook Pro 16GB, macOS Monterey 12.6.8

Link to comment
Share on other sites

I am not sure if it is a bug in itself but the behavior is explained by the fact that Affinity apps do not have separately a property for retaining background transparency and flattening partial transparency when exporting to indexed PNG so partial transparency with matte set to none will remove all pixels with partial transparency.

This can be worked around even without editing the image in Photo by using a Curves adjustment layer where partial transparency has been turned off, like this:

 

 

 

The resulting indexed PNG with transparent background:

kids error_fixed.png.zip

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.