Allocate memory for pixel map of a image in C
Posted: 2013-12-01T18:49:08-07:00
Hello,
How can i allocate memory for the entire pixel array of a image read from disk?.
I need to allocate with calloc but I don't know all the structs and datatypes of magickwand,
Please give that 1 line of code to do what i need.
Thanks a lot!.
Ps: I am using imagemagick Q8 and C languague.
How can i allocate memory for the entire pixel array of a image read from disk?.
I need to allocate with calloc but I don't know all the structs and datatypes of magickwand,
Please give that 1 line of code to do what i need.
Thanks a lot!.
Ps: I am using imagemagick Q8 and C languague.