Added support for color depth

Color depth is now considered during extraction.