write some images in debug mode