Page 1 of 2
8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo
Posted: Fri Apr 12, 2024 8:23 pm
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
Re: 8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo
Posted: Mon Apr 15, 2024 6:51 am
by xnview
could you post a saved file? you had not this issue before?
Re: 8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo
Posted: Mon Apr 15, 2024 12:04 pm
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.
Re: 8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo
Posted: Mon Apr 15, 2024 12:15 pm
by xnview
this one is good (1.6.4)?

- image-wallpaper-15_1.png (382.63 KiB) Viewed 4311 times
Re: 8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo
Posted: Mon Apr 15, 2024 12:26 pm
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.
Re: 8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo
Posted: Mon Apr 15, 2024 1:03 pm
by xnview
please try the attached picture file saved by 1.6.4?
Re: 8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo
Posted: Mon Apr 15, 2024 1:15 pm
by superconductor
Ok. I've just downloaded your image and opened it in Affinity Photo. It opens as 32-bit BT.709
Re: 8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo
Posted: Mon Apr 15, 2024 1:26 pm
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
Re: 8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo
Posted: Mon Apr 15, 2024 1:36 pm
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?
Re: 8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo
Posted: Mon Apr 15, 2024 1:42 pm
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?
Re: 8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo
Posted: Mon Apr 15, 2024 1:49 pm
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.
Re: 8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo
Posted: Mon Apr 15, 2024 3:06 pm
by xnview
and this one?

- 0-image-wallpaper-15.png (382.28 KiB) Viewed 4259 times
Re: 8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo
Posted: Mon Apr 15, 2024 3:15 pm
by superconductor
This one opens correctly as 8-bit sRGB image in Affinity Photo.
Re: 8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo
Posted: Tue Apr 16, 2024 11:20 am
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 (382.63 KiB) Viewed 4230 times
Re: 8-bit files saved as TIF and PNG open as 32-bit files in Affinity Photo
Posted: Tue Apr 16, 2024 11:35 am
by superconductor
The last one opens as 32-bit BT.709 Linear.