Page 1 of 1

convert 14 bit ppm to 8 bit ppm using truncation

Posted: 2018-01-23T15:57:46-07:00
by nachumk
Is there a way to convert a 14 bit ppm to an 8 bit ppm without rounding. I have noticed that the value 16320 converts to 254 instead of 255.
Thanks,
Nachum

Re: convert 14 bit ppm to 8 bit ppm using truncation

Posted: 2018-01-23T16:03:57-07:00
by fmw42
What is your exact command line? What is your IM version and platform?

See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at http://www.imagemagick.org/discourse-se ... f=1&t=9620

For novices, see

http://www.imagemagick.org/discourse-se ... f=1&t=9620
http://www.imagemagick.org/script/comma ... essing.php
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/