Creation struc image with <width>,<height>,<data>