Hi,
My issue is still not solved.
Please help me.
I have read the articles from following link.
HTTP://www.imagemagick.org/Usage/basics/#depth
Here is the content from that site related to image depth.
---------------------------------------------------------------------------------------------------
Depth - file format bit depth
Now most image formats are of depth 8. That is they use 8 bits (or a value from 0 to 28-1) to hold each color value used in the image. That is a value of 0 to 255 for red, 0 to 255 for green, and 0 to 255 for the blue channel. More usually this type of image is referred to as
24 bit images (total bits, NOT the channel bit depth), and includes such formats as such as JPEG), or
32 bit images if you also have an alpha channel, such as a typical PNG images).
What a lot of people refer to as 8 bit images, are really a image with an 8 bit palette or color map (giving a 256 color limit over the whole image). While such images are also a 8 bit depth, that is not what is being referred to. GIF images are a good example of this.
Transparency in such images are usually handled either by specifying a specific color as representing transparency (set using the "-transparent-color" meta-data setting) as in GIF format, or using a special profile for a specific number of colors in the color table in a PNG8 image. However only a single color transparency is implemented in IM bit image formats at this time.
In general...
24 bit images are : 3 x 8 bit depth values 3 color channels only
32 bit images are : 4 x 8 bit depth values 3 colors + Alpha channel
8 bit images are : 8 bit color mapped image, with 256 color limit
Because most image formats only save color values at an 8 bit depth, a lot of people install IM using a 'Q' or Quality level of depth 8, which requires far less memory and processes images faster than a more normal Q16 version of IM. Often 3 or more times faster. These Q8 versions work well for general image processing and converting, and can be used for generating simple images, annotating, or overlaying images.
------------------------------------------------------------------------
In this article, author explains the depth of jpeg, png and gif image types. Depth changes as the per the channel used
in this image formats.
Now my questions are...
1. How we can consider all these aspects and calculate the total image depth using identify.exe. My system expects the total image depth.
As per the suggested by "fmw42", I have tried to get no of channels of .gif type.
It shows me "RGB". But when I view the properties (On Windows Xp - right click on Images + Summary tab), it shows depth as 8. I am not getting this.
Please help me.
Thanks a lot.