Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: Determine color mode

$
0
0
I can't seem to retrieve the actual color mode of an image. Each of the following two images has a different color mode:
  1. https://www.dropbox.com/s/p4dpnkofgezfzwk/23792_004_0676_R_V1.tif
    ExifTool shows me:
                                 Color Mode                      : RGB
                                 ICC Profile Name             : Adobe RGB (1998)
  2. https://www.dropbox.com/s/4ngfjwkayrzp2ev/Spirits_Dead_1968_f_R_T.tif
    ExifTool shows me:
                                 Color Mode                      : Grayscale
                                 ICC Profile Name            : Gray Gamma 2.2
    
    
However when I use the following code on both, the resulting object (magickImageSource ) shows that the ColorSpace is Gray and ColorType is Greyscale. Shouldn't image #1 show me RGB?
    MagickImage magickImageSource = new MagickImage(sourceFilePath);

Viewing all articles
Browse latest Browse all 3693

Trending Articles