Get Color Depth Color depth is measured in bits per pixel (bpp), used to provide information on the color components. This is either in terms of the bits used to indicate the color of a single pixel or the number of bits used for each color component of a single pixel. It can also be used to determine the quality of an image, as different image bpp results in varying image quality (higher bpp generally indicates more image definition). An image file can be read from a file path using AnyBitmap.FromFile("FILE_PATH"). You can then use <code>.BitsPerPixel</code> on the generated AnyBitmap object to get the color depth of the image. Related Docs Links View on Github Related Tutorial Related How-To Guide Class Documentation Download IronDrawing DLL Report an Issue on this page Ready to Get Started? Nuget Downloads 15,421,227 | Version: 2025.3 just released Start Free Trial Free NuGet Download Total downloads: 15,421,227 View Licenses Still Scrolling? Want proof fast? PM > Install-Package IronSoftware.System.Drawing run a sample watch your HTML become a PDF. Free NuGet Download Total downloads: 15,421,227 View Licenses
All your questions are answered to make sure you have all the information you need. (No commitment whatsoever.)