Debugging image size reduction code [ci skip]