gray scaling

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • susie_richie_30@yahoo.com.au

    #1

    gray scaling

    Hi,
    I am trying to apply gray scaling to color as well as black/white
    images.

    I have tried using the pixel by pixel approach to achieve the
    scaling. But the particular approach has a issue with high mega pixel
    images.

    Is there any other approach that can be applied to achieve the gray
    scaling and also have a reasonable performance?

    Cheers,
    Susie

  • Jon Shemitz

    #2
    Re: gray scaling

    > I am trying to apply gray scaling to color as well as black/white[color=blue]
    > images.[/color]

    Take a look at the DrawImage overloads that take an ImageAttributes
    parameter.

    --

    Midnight Beach is Jon Shemitz, a freelance programmer and author. Jon offers software consulting and contract services, and recently finished his 2nd book - .NET 2.0 for Delphi Programmers.

    Comment

    Working...