fix error if >256 colors in rotated image
add trace if --verbose