8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, helmut, xnview

superconductor
Posts: 19
Joined: Sat Jul 29, 2023 8:18 pm

8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo

Post by superconductor »

Hi,

Recently I updated to XnView version 1.7.1. Now when I save any 8-bit sRGB image as PNG or TIF, they open as 32-bit images with BT.709 (Linear) profile instead of opening with the same bit depth and profile as the source files (8-bit sRGB). Does anyone else have this problem? This didn't happen with the previous version I've been using. 1.6.x
User avatar
xnview
Author of XnView
Posts: 44761
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo

Post by xnview »

could you post a saved file? you had not this issue before?
Pierre.
superconductor
Posts: 19
Joined: Sat Jul 29, 2023 8:18 pm

Re: 8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo

Post by superconductor »

Sure, please see attached. When I save the 8-bit .JXL image from this ZIP as PNG or TIF, it opens as 32-bit image with different color profile in Affinity Photo 2.4.2. No, I didn't have this problem with XnView MP 1.6.4.
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 44761
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo

Post by xnview »

this one is good (1.6.4)?
image-wallpaper-15_1.png
You do not have the required permissions to view the files attached to this post.
Pierre.
superconductor
Posts: 19
Joined: Sat Jul 29, 2023 8:18 pm

Re: 8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo

Post by superconductor »

Yes, with 1.6.4 everything is fine, but with 1.7.1 when the JXL is saved as PNG/TIF (File > Save as) it opens as 32-bit image. Screenshot attached.
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 44761
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo

Post by xnview »

please try the attached picture file saved by 1.6.4?
Pierre.
superconductor
Posts: 19
Joined: Sat Jul 29, 2023 8:18 pm

Re: 8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo

Post by superconductor »

Ok. I've just downloaded your image and opened it in Affinity Photo. It opens as 32-bit BT.709
User avatar
xnview
Author of XnView
Posts: 44761
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo

Post by xnview »

superconductor wrote: Mon Apr 15, 2024 1:15 pm Ok. I've just downloaded your image and opened it in Affinity Photo. It opens as 32-bit BT.709
it's a png saved by 1.6.4
Pierre.
superconductor
Posts: 19
Joined: Sat Jul 29, 2023 8:18 pm

Re: 8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo

Post by superconductor »

Actually, you are right. I don't know why I thought otherwise. Why does that happen though? When I save a JXL image as PNG/TIF I would like the bit depth and color profile to stay the same. Is this a problem with the JXL encoder itself? Or maybe with Affinity Photo?
User avatar
xnview
Author of XnView
Posts: 44761
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo

Post by xnview »

i think that there is an issue with embedded color profile. Are you able to convert the JXL into png with another app?
Pierre.
superconductor
Posts: 19
Joined: Sat Jul 29, 2023 8:18 pm

Re: 8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo

Post by superconductor »

Yes, I can. The original image of the bird was in JPG format. The problem happens when I use XnView MP to save it as JXL and then the JXL as PNG. However, when I save the JPG to JXL with Affinity Photo and then the JXL as PNG again with Affinity Photo, there are no issues with bit depth.
User avatar
xnview
Author of XnView
Posts: 44761
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo

Post by xnview »

and this one?
0-image-wallpaper-15.png
You do not have the required permissions to view the files attached to this post.
Pierre.
superconductor
Posts: 19
Joined: Sat Jul 29, 2023 8:18 pm

Re: 8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo

Post by superconductor »

This one opens correctly as 8-bit sRGB image in Affinity Photo.
User avatar
xnview
Author of XnView
Posts: 44761
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo

Post by xnview »

superconductor wrote: Mon Apr 15, 2024 3:15 pm This one opens correctly as 8-bit sRGB image in Affinity Photo.
and this one?
0-image-wallpaper-15.png
You do not have the required permissions to view the files attached to this post.
Pierre.
superconductor
Posts: 19
Joined: Sat Jul 29, 2023 8:18 pm

Re: 8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo

Post by superconductor »

The last one opens as 32-bit BT.709 Linear.