summaryrefslogtreecommitdiff
path: root/MagickWand
diff options
context:
space:
mode:
authorcristy <urban-warrior@git.imagemagick.org>2015-06-20 13:40:47 +0000
committercristy <urban-warrior@git.imagemagick.org>2015-06-20 13:40:47 +0000
commit7bd301471cb7092caeba5727402d5d180872b03f (patch)
tree94d4f909ca2dfe738cce64ccb4787dc66507f7d8 /MagickWand
parentba6d7782ee2a68b0dbefbccfc1c7fab59d9e9b69 (diff)
downloadImageMagick-7bd301471cb7092caeba5727402d5d180872b03f.tar.gz
Diffstat (limited to 'MagickWand')
-rw-r--r--MagickWand/pixel-wand.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/MagickWand/pixel-wand.c b/MagickWand/pixel-wand.c
index 6a0c47b93..a9d353e9b 100644
--- a/MagickWand/pixel-wand.c
+++ b/MagickWand/pixel-wand.c
@@ -1262,6 +1262,8 @@ WandExport void PixelGetQuantumPacket(const PixelWand *wand,PixelInfo *packet)
if (wand->debug != MagickFalse)
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
assert(packet != (PixelInfo *) NULL);
+ packet->storage_class=wand->pixel.storage_class;
+ packet->colorspace=wand->pixel.colorspace;
packet->depth=wand->pixel.depth;
packet->fuzz=wand->pixel.fuzz;
packet->alpha=(double) ClampToQuantum(wand->pixel.alpha);