Now I would usually refer to this as 24 bit RGB but when I try to process it thru "convert" it only works when a depth of 8 is specified and the resulting PNG is also 8 bit.
Code: Select all
$ convert -size 1920x1080 -depth 8 data.rgb image.png
$ identify image.png
image.png PNG 1920x1080 1920x1080+0+0 8-bit sRGB 5.935MB 0.000u 0:00.000
SO my question is to clarify whether I just misunderstand what "depth" means and to ask, given a file containing three byte triplets of RGB data, what is the right way to convert it to a 24-bit true-colour image?
My system details are:
ImageMagick 6.8.9-7 Q16 x86_64 2014-08-25
Linux 3.16.4-1-ARCH #1 SMP PREEMPT Mon Oct 6 08:22:27 CEST 2014 x86_64 GNU/Linux