C Board  

Go Back   C Board > General Programming Boards > C# Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 06-02-2005, 04:56 PM   #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.
Rune Hunter is offline   Reply With Quote
Old 06-03-2005, 09:35 AM   #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
7smurfs is offline   Reply With Quote
Old 06-03-2005, 03:06 PM   #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?
Rune Hunter is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump


All times are GMT -6. The time now is 09:13 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

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