Re: strange trouble in displaying a 8bit monochromy grey scale image



On 6/2/06, John Cupitt <jcupitt gmail com> wrote:
memset( p, sizeX * sizeY * 3, pixel_value )

Ahem, of course that should be

memset (p, pixel_value, sizeX * sizeY * 3);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]