Jpeg2000 decoding -3 greyscale problem

umair
2014-02-26
2014-03-08
  • umair
    umair
    2014-02-26

    I have been decoding the jpeg2000 image using C# and .net dll. I am getting this message "Image contains 3 greyscale components. Only the first will be loaded". After this image get decoded and displayed but only in black and white where as the original image is in color format. I have tried other APIs and those API decoding in color format.
    I want to use FreeImage for my probject. Please help me. Thanks.

     
    Last edit: umair 2014-02-26
  • Hervé Drolon
    Hervé Drolon
    2014-03-08

    Hi,

    This message is thrown when you have 3 channels with different sizes (width, height) and/or different bitdepths. That's why FreeImage cannot reconstruct a RGB image from this : the first channel is loaded and the other are discarded.

    Hervé