Replies: 3 comments 5 replies
-
When your run convert.exe you will get IM 6 behavior. Perhaps your IM 6 is Q8? Try
When I use
on IM 7.1.0.7 or 7.1.0.5 Q16 Mac OSX, I get 16-bit depth, not 16/8
Perhaps it is a Windows only issue? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Adding image to make sure it is preserved: dss.zip |
Beta Was this translation helpful? Give feedback.
0 replies
-
IM v6.9.9-40 on Windows 8.1 reports a problem:
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am using Imagemagick for astronomical imaging processing.
I am trying to process depth 16 bit images from an astronomy program called DeepSkyStacker.
I am having issues with the current version of Imagemagick, where it is reducing the
bit depth of the images from depth 16-bit to depth 16/8-bit
( older versions of Imagemagick, and other programs like current Gimp are handling the images correctly)
This ONLY affects images created by DeepSkyStacker ( 16bit images created by other programs
are handled correctly by current versions of Imagemagick )
convert.exe (the old version) Version: ImageMagick 6.8.9-0 Q16 x86 2014-04-06
convert.exe (the new version) Version: ImageMagick 7.1.0-5 Q16 x86 2021-08-22
I have placed a sample image dss.tif ( a grayscale depth 16 image ) on drop box
https://www.dropbox.com/s/rry1b3rdug529t3/dss.tif?dl=0
running 'convert.exe dss.tif -verbose info:'
Old convert produces
.......................
Type: Grayscale
Base type: Grayscale
Endianess: Undefined
Colorspace: Gray
Depth: 16-bit
Channel depth:
gray: 16-bit
Channel statistics:
Gray:
min: 2987 (0.0455787)
max: 65535 (1)
mean: 5198.31 (0.0793211)
standard deviation: 1331.21 (0.020313)
kurtosis: 566.681
skewness: 14.3413
...........................................................
New convert produces
................
Colorspace: Gray
Type: Grayscale
Endianness: Undefined
Depth: 16/8-bit
Channel depth:
Gray: 8-bit
Channel statistics:
Pixels: 10762752
Gray:
min: 2827 (0.0431373)
max: 65535 (1)
mean: 5090.86 (0.0776816)
median: 4112 (0.0627451)
standard deviation: 1337.42 (0.0204078)
kurtosis: 561.387
skewness: 14.2497
entropy: 0.494935
Colors: 245
.................................................
When i run a dump of the histogram data using 'convert.exe dss.tif -format '%c' histogram:info:'
Is there anyway way that I can use the current version of ImageMagick on these
images and still maintain the bit depth ?
Thanks,
Howie
Beta Was this translation helpful? Give feedback.
All reactions