Search found 4 matches

by murmel
2016-10-24T12:50:58-07:00
Forum: MagickWand
Topic: IndexPacket
Replies: 1
Views: 19952

Re: IndexPacket

additional info: Quantum is defined in: /usr/include/ImageMagick-6/magick/magick-type.h 58 typedef ssize_t SignedQuantum; 59 #if defined(MAGICKCORE_HDRI_SUPPORT) 60 typedef float Quantum; 61 #define QuantumRange 255.0 62 #define QuantumFormat "%g" 63 #else 64 typedef unsigned char Quantum; 65 ...
by murmel
2016-10-24T10:30:30-07:00
Forum: MagickWand
Topic: IndexPacket
Replies: 1
Views: 19952

IndexPacket

hello again to the forum, I'm trying to extract the ColorMapIndex of a PNG-/GIF-image for any seperate pixel. received help on my last question - it was possible to read the index for some special produced png-images - but it doesn't work in general. asuming the "MagickGetImageColors(wand)" - which ...
by murmel
2016-10-21T02:48:33-07:00
Forum: MagickWand
Topic: getting the colormapindex for each pixel
Replies: 2
Views: 17250

Re: getting the colormapindex for each pixel

thank you for reply ... I didn't recognized that function so far. it seems to work with a testimage.PNG produced by convert :D but the same testimage formated as a GIF - it doesn't (using a palette with only 7 colors). IndexPacket PixelGetIndex(const PixelWand *wand) as i mentioned the typedef ...
by murmel
2016-10-20T08:24:32-07:00
Forum: MagickWand
Topic: getting the colormapindex for each pixel
Replies: 2
Views: 17250

getting the colormapindex for each pixel

hi, unluckely I'm a complete newbe using the magickwand within c-lang. first of all my magickwand-version is the debian-sid (8:6.8.9.9-7.2) I tried to generate a small test image with 3 colors in it. $ convert -size 4x4 xc:red xc:green xc:blue +append a.png $ identify -format "%k %wx%h %f\n" a.png 3 ...