debug image decode