cropping 16-bit (12-bit) png
Hello,
I am trying to read and crop a 16-bit png image. The info I get from
imagemagick's identify follows below. Once loaded into gimp, the image
appears to be a 8-bit. After cropping and saving as png, it turns out to
be 8-bit according to imagemagick;s identify (info below).
Is there a way to use gimp to read, crop, and save the image with same
bit depth? If not, is there an alternative package I could use?
Suggestions appreciated.
Thanks,
--
Valmor
->identify -verbose frm_1.png
Image: frm_1.png
Format: PNG (Portable Network Graphics)
Class: PseudoClass
Geometry: 1024x1024+0+0
Type: Grayscale
Endianess: Undefined
Colorspace: Gray
Depth: 16-bit
Channel depth:
Gray: 12-bit
Channel statistics:
Gray:
Min: 0 (0)
Max: 2004 (0.489265)
Mean: 1151.32 (0.281088)
Standard deviation: 215.652 (0.0526502)
Colormap: 65536
->identify -verbose cropped.png
Image: cropped.png
Format: PNG (Portable Network Graphics)
Class: PseudoClass
Geometry: 121x96+0+0
Type: Grayscale
Endianess: Undefined
Colorspace: Gray
Depth: 8-bit
Channel depth:
Gray: 8-bit
Channel statistics:
Gray:
Min: 61 (0.239216)
Max: 91 (0.356863)
Mean: 73.449 (0.288035)
Standard deviation: 3.58719 (0.0140674)