When image is encoded in PNG format, it can be encoded either in 24 bit format (rgb) or in 32 bit format (argb). Both the files appear as .png files. Then how it is possible to differentiate these two types of png files?

To make it more clear, If I am downloading PNG image files from internet how can check in which format it is encoded.

OS: Windows 8

  • 1
    Hi there! I just found this question has been asked (and answered) for Mac in superuser: superuser.com/questions/148661/… Is this what you were looking for? – Yisela Feb 9 '15 at 10:35
  • @Yisela I checked your link, but it is specifically for mac OS.And I am using window OS too. Do I need to include information about my OS in my question ? – tollin jose Feb 9 '15 at 10:46
  • A 32 bit .png file has an alpha channel and might have transparent parts, although the latter is not required - so any software that is able to show this information would tell you. – Michael Schumacher Feb 9 '15 at 18:00
  • And for the records, identify is part of ImageMagick on the Windows platforms. – Michael Schumacher Feb 9 '15 at 18:05
  • ImageMagick is new to me. I went through their downloads link just now. There are different versions, based on OS and also based on bits per pixel. In my case I require 32 bits per pixel and that is not there. – tollin jose Feb 10 '15 at 3:37

I know this question was asked over a year ago but I stumbled on this post while searching for the answer myself. I found the answer on a different site so I thought I'd share it here.

You can find this information under the Details tab in File Properties. So far it seems to work for files that are natively identified by Windows as an image.

Identify bit depth for image files on Windows:

*Right click* image file > Properties > Details > Bit depth

Identify image bit depth on Windows

  • 1
    Welcome to GD.SE, Shimothy! Great first answer. :) – Vicki May 27 '16 at 20:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.