[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error: imread: invalid image file: Magick++ exception --with-quantum
From: |
龙永彪 |
Subject: |
Re: error: imread: invalid image file: Magick++ exception --with-quantum-depth=16 |
Date: |
Mon, 12 Mar 2012 19:23:27 +0800 |
Today I rebuilt graphicsmagick and octave, I worked! I saw in the
output of 'gm -version` that graphicsmagick was successfully
configured with '--with-quantum-depth=16'. 'gm identify myimage.png`
produce
myimage.png PNG 1366x768+0+0 DirectClass 8-bit 525.7K 0.000u 0:01
I'm wondering whether '8-bit' is the property of the image itself.
Command 'I = imread ("myimage.png");` produce a warning:
warning: your version of GraphicsMagick limits images to 16
bits per pixel.
Glad it works any way!
I also learned that I'd better use the image package when doing image
processing.
Thank you marco atzeri for your time!
--
Best Regards