bitmap.palette help

This is a discussion on bitmap.palette help within the C# Programming forums, part of the General Programming Boards category; I want to choose a color pallet for my bitmap image. But I have no clue even how to make ...

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    731

    bitmap.palette help

    I want to choose a color pallet for my bitmap image. But I have no clue even how to make a color palette.

    I know a color palette is composed of Red, Green, Blue, Alpha. And I know the class colorPalette but I don't know how to use it.

    Thanks.

  2. #2
    C(++)(#)
    Join Date
    Jul 2004
    Posts
    309
    There was an article on MSDN about something like this (a paint program in .NET using C# I think), that may be worth looking at. I'll see if I can find it for you.
    To code is divine

  3. #3
    Registered User
    Join Date
    Aug 2004
    Posts
    731
    I found somtin about this type of stuff. It works differently than I thought it did but how do I make it so my project accepts unsafe code?

    I gotta insert /unsafe somewhere. But where?

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21