【发布时间】:2013-09-09 14:20:51
【问题描述】:
我有以下代码 sn-p 以十六进制格式读取像素值。
Uint32* MyPixel = pixels + ( (iH-1) + image->w ) + iW;
printf("\npixelvalue is is : %x",*MyPixel);
我如何将新的十六进制值重新分配到 *MyPixel 因为我试过这不起作用。
*MyPixel = "00FF00";
【问题讨论】:
-
使用
*MyPixel = 0xFF00;