proper image data debugging