Resizing image changes from 8 to 16 bit per channel. Why?

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
User avatar
Site Admin
Posts: 11149
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

To fix the problem simply set the image depth to 8
  • $im->Set( depth=> 8 );
before you write it or use the Q8 version of ImageMagick. If you use the Q16 version of ImageMagick and resize an 8-bit image, it produces a 16-bit image because new colors are being introduced during the scaling operation.

Post Reply