I was having issues with an image generated by ImageMagick that turned out to instead be an issue with XnView.
See here: http://www.imagemagick.org/discourse-se ... 698#p84698
Input:
Output:
XnView does not report the output image as being 32 bits, but instead reports it as being 8 bits. The alpha channel is also ignored.
Thanks for any help you might provide!!
Fails to detect 32 bit depth
Moderators: XnTriq, helmut, xnview
-
- Posts: 5
- Joined: Sun Mar 25, 2012 12:52 am
Fails to detect 32 bit depth
Last edited by posfan12 on Sun May 20, 2012 3:07 am, edited 1 time in total.
-
- Moderator & Librarian
- Posts: 6363
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: Fails to detect 32 bit depth
XnTriq ([url=http://newsgroup.xnview.com/viewtopic.php?p=98631#p98631]MP 0.39 Win: PNG displaying problem.[/url]) wrote:
It's a know issue/limitation.
-
- Posts: 5
- Joined: Sun Mar 25, 2012 12:52 am
Re: Fails to detect 32 bit depth
Thanks for the fast response.
So, the problem is that the image is a grayscale PNG? I mean, it has 8 bits of grayscale information and 8 bits of transparency information (for a total of 16bits)?
So, the problem is that the image is a grayscale PNG? I mean, it has 8 bits of grayscale information and 8 bits of transparency information (for a total of 16bits)?
-
- Moderator & Librarian
- Posts: 6363
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
-
- Posts: 133
- Joined: Fri Apr 10, 2009 9:55 pm
Re: Fails to detect 32 bit depth
Yeah, we have been complaining about grayscale+alpha PNGs for years.
Even worse when it's APNG in grayscale+alpha... Then XnView cannot even recognize the file format as PNG.
Even worse when it's APNG in grayscale+alpha... Then XnView cannot even recognize the file format as PNG.
-
- Posts: 5
- Joined: Sun Mar 25, 2012 12:52 am
Re: Fails to detect 32 bit depth
One of the people responding to the ImageMagick thread says that the input and output images use the same PNG specifications. However, if that is the case, why do they behave differently in XnView?
-
- Posts: 133
- Joined: Fri Apr 10, 2009 9:55 pm
Re: Fails to detect 32 bit depth
Both are valid PNG files, but there are 5 PNG image types:
First image is color type 6 (RGBA) and second image is color type 4 (GA).
XnView is known for having trouble displaying "type 4" files correctly.
First image is color type 6 (RGBA) and second image is color type 4 (GA).
XnView is known for having trouble displaying "type 4" files correctly.
-
- Posts: 5
- Joined: Sun Mar 25, 2012 12:52 am
Re: Fails to detect 32 bit depth
OK, thanks.