From: cristy Date: Sat, 30 Apr 2011 20:39:31 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~7601 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3ecf287d9fdc86ecfd01aafabc37cc2c71586a46;p=imagemagick --- diff --git a/coders/emf.c b/coders/emf.c index 44f336c9a..b1afb2748 100644 --- a/coders/emf.c +++ b/coders/emf.c @@ -57,6 +57,7 @@ #include "magick/list.h" #include "magick/magick.h" #include "magick/memory_.h" +#include "magick/pixel.h" #include "magick/quantum-private.h" #include "magick/static.h" #include "magick/string_.h" @@ -612,9 +613,9 @@ static Image *ReadEMFImage(const ImageInfo *image_info, break; for (x=0; x < (ssize_t) image->columns; x++) { - SetRedComponentPixel(q,ScaleCharToQuantum(pBits->rgbRed)); - SetGreenComponentPixel(q,ScaleCharToQuantum(pBits->rgbGreen)); - SetBlueComponentPixel(q,ScaleCharToQuantum(pBits->rgbBlue)); + SetRedPixelComponent(q,ScaleCharToQuantum(pBits->rgbRed)); + SetGreenPixelComponent(q,ScaleCharToQuantum(pBits->rgbGreen)); + SetBluePixelComponent(q,ScaleCharToQuantum(pBits->rgbBlue)); SetOpacityPixelComponent(q,OpaqueOpacity); pBits++; q++;