Jump to content
PifLyon

PNG-24 format is not standard in Affinity photo Export ?

Recommended Posts

Hi,

I encounter a problem when exporting files with file>Export >PNG-24 in Affinity photo 1.6.5 on PC windows 10 1809 (this problem occured in previous versions).

The file exported is not recognized as PNG-24 (even well selected in the dialog box).

I explain : I make games for VR and I have PNGs to send via web to store platform. The store always says that the PNG I send is not PNG-24. You may say it's a website related problem but NO : If I open the exported-by-affinity PNG in Paint.net software and save it again in PNG-24 => no problem.

In short terms :

-PNG-24 exported with Affinity photo = > Wrong format

-This last Affinity photo's PNG-24 re-exported with Paint.net => It OK.

Are you forgetting to add some tags in the file ? Making custom things in it ?

(Another problem : when importing a fresh Affinty created PNG-24 in Unity, it takes ages, whilst not if created with other software).

Thank you.

Cédric.

Share this post


Link to post
Share on other sites

Hi @PifLyon,

If you want PNG-24, you would need to disable Transparency in Document > Transparent Background. Otherwise, you would get infact a PNG24 ( 8 bits per channel ) + 8 bit alpha which is PNG32. 

Try this and see how it goes. 

Thanks,

Gabe.  

Share this post


Link to post
Share on other sites

Thanks.

Just tried (removed document>Transparency). Still not accepted as PNG-24. 

And for information, there is no PNG-32 in the export dialog (see picture) :

image.png.8eae675ec788ee36cf52f02162338b9a.pngimage.png.3d95446057f54a1711a4715759f1f16a.png

Share this post


Link to post
Share on other sites
Just now, PifLyon said:

And for information, there is no PNG-32 in the export dialog (see picture) :

PNG-8, PNG-24, etc. are the names of presets in the Export dialog, not the names of file formats. The real information about what they mean is in the More... (Plus...) dialog, which describes the details of the settings.


-- Walt

Windows 10 Home, version 1903 (18362.239), 16GB memory, Intel Core i7-6700K @ 4.00Gz, GeForce GTX 970
Affinity Photo 1.7.2.471 and 1.7.3.476 Beta   / Affinity Designer 1.7.2.471 and 1.7.3.476 Beta  / Affinity Publisher 1.7.2.471 and 1.7.3.475 Beta

Share this post


Link to post
Share on other sites

No, there is not. A PNG-24 with transparency becomes a PNG-32. 

What web app are you using? What is the error message? Can you perhaps attach the .afphoto project file so we can have a look? 

Share this post


Link to post
Share on other sites

Thanks again. 

If I look at "More..." (Plus...) there is no more information about PNG... See picture.

image.png.cc310b59bdb1e8e5f1b496f2e70a61ca.png

I also tried to set "Cache" option to solid black,  unckeck ICC profile & metadata (not shown on this screenshot taken before) but no chance either.

Yes I can send you the project, in the meantime , if it can help your technicians find the diffence, here are the two PNGs in a zip file :

The first is exported by Affinity with settings mentionned above (no transparency in document, solid black,  no ICC, no Metadata) and the second is the one exported by Paint.net (no particular settings, just PNG-24), You can tell each one with the text "exported by affinity" in the middle of the first one, or in the filename.

I put them in a zip file to avoid a reinterpretation of the forum.

ANCEDERGO.zip

I have to move out for 2 hours, I'll sure come back to see If this file can help. :D

If you prefer the project file, tell me.

Cédric.

Share this post


Link to post
Share on other sites

Thank you. I've found the "issue". Your file is not actually PNG-24, but PNG-48.

 image.png

What happened: Your document bt depth is 16. Therefore, you have got a PNG-48 (16bits*3channels). Convert your document to 8bit/RGB and you should be fine :)

Share this post


Link to post
Share on other sites

Youpi !! You found it.

There really SHOULD be someting in the export dialog warning the document cannot be exported as 24 bits because of its definition.... It does not make sense selecting "PNG-24" to get a 48bits document.

EDIT : even better than a warning => Affinity should export as 24bits as expected (like other software).

Congratulations @GabrielM !:D

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

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.