Transparency in AVIF
Moderator: xnview
-
faisal0997
- Posts: 3
- Joined: Sun Dec 08, 2024 5:49 pm
Transparency in AVIF
Hey I'm trying to convert some PNG images with transparency into AVIF for the web but it seems XnConvert doesn't support transparency for AVIF's or am i missing some setting somewhere to allow this? Any guidance would be greatly appreciated thank you!
-
xnview
- Author of XnView
- Posts: 48164
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Transparency in AVIF
alpha channel is supported by AVIF
-
faisal0997
- Posts: 3
- Joined: Sun Dec 08, 2024 5:49 pm
Re: Transparency in AVIF
Hey Pierre thank you for responding! I know that AVIF supports alpha channel transparency but my image always comes out with a black background, I can however go into actions and extract the alpha channel of the image so i believe its there? Perhaps i'm still overlooking something so any further help would be appreciated!
-
xnview
- Author of XnView
- Posts: 48164
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Transparency in AVIF
please send me the source image file
-
faisal0997
- Posts: 3
- Joined: Sun Dec 08, 2024 5:49 pm
Re: Transparency in AVIF
Sorry for the delay here's a link to the image! https://we.tl/t-kN1T05shEr
-
xnview
- Author of XnView
- Posts: 48164
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Transparency in AVIF
sorry but link is not availablefaisal0997 wrote: Mon Dec 30, 2024 1:35 pm Sorry for the delay here's a link to the image! https://we.tl/t-kN1T05shEr
-
rctneil
- Posts: 7
- Joined: Fri Aug 16, 2024 1:23 pm
Re: Transparency in AVIF
Any updates to this?
I have 3 AVIF's with transparency but when I export as PNG, the transparent areas turn black?
Images are in this zip file: https://a.dropoverapp.com/cloud/downloa ... 455c78aae4.
Thanks
Neil
I have 3 AVIF's with transparency but when I export as PNG, the transparent areas turn black?
Images are in this zip file: https://a.dropoverapp.com/cloud/downloa ... 455c78aae4.
Thanks
Neil
-
marsa
- Posts: 5
- Joined: Tue Jun 17, 2025 6:07 am
Re: Transparency in AVIF
I just tested your images and transparency is recognized and kept when converting to PNG with the latest version (1.112.0). Maybe you are on an older version of the program? If not, please describe your scenario, or provide screenshots of "Actions" and "Output" tabs.rctneil wrote: Fri Jun 26, 2026 8:00 pm Any updates to this?
I have 3 AVIF's with transparency but when I export as PNG, the transparent areas turn black?
Images are in this zip file: https://a.dropoverapp.com/cloud/downloa ... 455c78aae4.
Thanks
Neil
-
rctneil
- Posts: 7
- Joined: Fri Aug 16, 2024 1:23 pm
Re: Transparency in AVIF
I apologise,
I'm trying to convert them to webp files. My settings are as follows:
I'm trying to convert them to webp files. My settings are as follows:
You do not have the required permissions to view the files attached to this post.
-
xnview
- Author of XnView
- Posts: 48164
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Transparency in AVIF
it works on macOS, intel?
-
rctneil
- Posts: 7
- Joined: Fri Aug 16, 2024 1:23 pm
Re: Transparency in AVIF
Yeh, I'm in MacOS. Latest app version, latest OS version. MacBook Pro M1 Pro.
Here's my resultant image.
Very weird.
Here's my resultant image.
Very weird.
You do not have the required permissions to view the files attached to this post.
-
xnview
- Author of XnView
- Posts: 48164
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Transparency in AVIF
Strange, i've tried on my M1 Pro, and output webp is 32bits not 24bits. without resize action?
-
rctneil
- Posts: 7
- Joined: Fri Aug 16, 2024 1:23 pm
Re: Transparency in AVIF
I've tried a bunch of things and no change. Always a black background.
I tried disabling the resize action. No change.
On the Settings tab, there is "Preview background colour" is this to do with it?
I tried disabling the resize action. No change.
On the Settings tab, there is "Preview background colour" is this to do with it?
-
user0
- XnThusiast
- Posts: 3055
- Joined: Sat May 09, 2015 9:37 am
Re: Transparency in AVIF
use new version of XnConvert
there was error with 32bit avif shows as 24bit (transparency shows as black)
there was error with 32bit avif shows as 24bit (transparency shows as black)
-
rctneil
- Posts: 7
- Joined: Fri Aug 16, 2024 1:23 pm
Re: Transparency in AVIF
Spot on! Working now!
Thankyou
Thankyou