CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 1999
    Location
    Germany, Hessen
    Posts
    226

    Gdiplus::ImageAttributes - order of correction functions

    Hi !

    If I use multiple color corrections at once with Gdiplus::ImageAttributes, in which order are they executed ?

    What I want to do:
    - use a color matrix
    - use a color remap
    - use gamma correction

    at the same time, but I need to know in which order they are applies ... Any idea out there ?

    Regards,
    Marco

  2. #2
    Join Date
    Sep 1999
    Location
    Germany, Hessen
    Posts
    226

    Wink Re: Gdiplus::ImageAttributes - order of correction functions

    OK guys, found it out on my own.

    Both correction types in the same ImageAttribute doesn't work. It's only executing ColorMatrix and Gamma, not ColorMap. Have to apply two ImageAttributes (doing two Draw() operations).

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured