grey scale color scale

Help
Alpha
2013-08-02
2013-09-01
  • Alpha
    Alpha
    2013-08-02

    When I converted a 24 bit RGB image into a 8 bit grey scale image, how can I access the individual pixel's color scale (I know that for RGB images I can do that with "FI_RGBA_RED", "FI_RGBA_GREEN"...., but the FI documentation didnt seem to address the grey scale case...) Thank you very much!!

     
  • Hervé Drolon
    Hervé Drolon
    2013-09-01

    Hi,

    See the PDF doc and especially the chapter named "Pixel access functions".
    Then look at the "FreeImage_GetScanLine" function.

    Hervé