Bug 384742 - Render Animation: No alpha channel (transparency) for PNG file format.
Summary: Render Animation: No alpha channel (transparency) for PNG file format.
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: File formats (show other bugs)
Version: 3.2.1
Platform: Mint (Debian based) Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-15 13:50 UTC by Samuel
Modified: 2017-09-19 12:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
PNG options dialog (52.51 KB, image/png)
2017-09-15 13:50 UTC, Samuel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel 2017-09-15 13:50:08 UTC
Created attachment 107870 [details]
PNG options dialog

When rendering an animation, in the PNG file format options dialog the "Store alpha channel (transparency)" option is grayed out and cannot be marked.

The only workaround at the moment is to export as TIFF.
Comment 1 Halla Rempt 2017-09-15 13:52:09 UTC
That happens when the image itself doesn't seem to contain transparent and semi-transparent pixels.
Comment 2 Samuel 2017-09-15 14:35:21 UTC
(In reply to Boudewijn Rempt from comment #1)
> That happens when the image itself doesn't seem to contain transparent and
> semi-transparent pixels.

But the thing is, when you export a single image/frame the "Store alpha channel" option is available to be used or not.

The grayed out "Store alpha channel" thing only happens if you try to export the animation sequence as PNG.

Tried deleting unnecessary layers and just leave the ones with actual pixels on it to see if that could have some kind of correlation with "layer visibility" vs "layer existence". Even that didn't make any difference, "Store alpha channel" remained grayed out for PNG sequence.
Comment 3 Halla Rempt 2017-09-19 12:30:38 UTC
Git commit 4a6e7cab445572ecc1e25041c16e716220d58b93 by Boudewijn Rempt.
Committed on 19/09/2017 at 12:28.
Pushed by rempt into branch 'krita/3.3'.

All saving the alpha channel to png even if there is no transparency

This helps with workflows where other tools assume that there is
always an alpha channel.

M  +3    -3    plugins/impex/png/kis_png_export.cc

https://commits.kde.org/krita/4a6e7cab445572ecc1e25041c16e716220d58b93
Comment 4 Halla Rempt 2017-09-19 12:34:51 UTC
Git commit bcb052e518e66bda86d9a5a14d6e37dba514f3cc by Boudewijn Rempt.
Committed on 19/09/2017 at 12:31.
Pushed by rempt into branch 'master'.

Enable the alpha checkbox in the png export dialog

See also https://commits.kde.org/krita/4a6e7cab445572ecc1e25041c16e716220d58b93

M  +1    -2    plugins/impex/png/kis_png_export.cc

https://commits.kde.org/krita/bcb052e518e66bda86d9a5a14d6e37dba514f3cc