Results 1 to 2 of 2

Thread: Convert color image to black and white

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2017
    Location
    Perth
    Posts
    28

    Default Convert color image to black and white

    Is there a way using Graphics Library to convert a color image to black and white.
    The GDI+ seems can do some color tranformation, but it is not in the Graphics Library.
    https://docs.microsoft.com/en-us/win...ngle-color-use
    Thanks.
    Kind regards,

    John Zhong
    Triumph Business Systems Pty Ltd
    www.triumph.com.au

  2. #2
    Join Date
    Feb 2009
    Location
    Hengelo, Netherlands
    Posts
    10,869

    Default Re: Convert color image to black and white

    John,

    Indeed the ImageAttributes class needed for a transformation via a 5x5 matrix is missing from the library.
    Regards,
    Data Access Worldwide
    Vincent Oorsprong

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •