Init with image data