Question: Implement the function below: Image createBlank_img(int x, int y) function: Create a blank image of a certain width and height. Returns a variable of type
Implement the function below:
Image createBlank_img(int x, int y)
function: Create a blank image of a certain width and height. Returns a variable of type Image with the width and height. Must allocate the dynamic memory to hold all the pixel values. (Set all the Pixels to zero when creating memory allocation)
Step by Step Solution
3.39 Rating (152 Votes )
There are 3 Steps involved in it
include include typedef struct int width int height int data Image Image createBlankimgin... View full answer
Get step-by-step solutions from verified subject matter experts
