diff options
Diffstat (limited to 'coders/gray.c')
-rw-r--r-- | coders/gray.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/coders/gray.c b/coders/gray.c index 953238496..f73ed5e27 100644 --- a/coders/gray.c +++ b/coders/gray.c @@ -223,9 +223,9 @@ static Image *ReadGRAYImage(const ImageInfo *image_info, break; for (x=0; x < (ssize_t) image->columns; x++) { - SetRedPixelComponent(q,GetRedPixelComponent(p)); - SetGreenPixelComponent(q,GetGreenPixelComponent(p)); - SetBluePixelComponent(q,GetBluePixelComponent(p)); + SetPixelRed(q,GetPixelRed(p)); + SetPixelGreen(q,GetPixelGreen(p)); + SetPixelBlue(q,GetPixelBlue(p)); p++; q++; } |