![]() ![]() Instead, use the GetPixel and SetPixel methods. This method does not support alpha values for 32 and 64-bit color images and the alpha value of the returned color should not be used. If you specify a pixel that is outside the image or outside the region (if the image has one), this method throws an exception. Therefore, you must account for the view perspective of the image. This method uses image coordinates to specify the pixel. You can use the SetPixelColor method to assign the returned value to another pixel. If 0x01000000 is set in the RGB value of RasterColor (0x010000ZZ), the lower 8 bits (0xZZ) represent an index into the image palette which holds the color value. A RasterColor value with the RGB value of 0x00BBGGRR represents the blue, green, and red color values for the specified pixel, where 0xBB is the blue value, 0xGG is the green value and 0xRR is the red value. The standard Windows values for RasterColor represent either red, green, and blue color values, or an index into the image palette. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |