diff --git a/coders/pict.c b/coders/pict.c
index 5ad5d97..c2e3776 100644
--- a/coders/pict.c
+++ b/coders/pict.c
@@ -494,7 +494,7 @@
       */
       for (y=0; y < (ssize_t) image->rows; y++)
       {
-        q=pixels+y*width*GetPixelComponents(image);;
+        q=pixels+y*width*GetPixelChannels(image);;
         number_pixels=bytes_per_line;
         count=ReadBlob(blob,(size_t) number_pixels,scanline);
         (void) count;
@@ -1219,7 +1219,7 @@
                         }
                   }
                 p++;
-                q+=GetPixelComponents(tile_image);
+                q+=GetPixelChannels(tile_image);
               }
               if (SyncAuthenticPixels(tile_image,exception) == MagickFalse)
                 break;
@@ -1878,7 +1878,7 @@
       for (x=0; x < (ssize_t) image->columns; x++)
       {
         scanline[x]=(unsigned char) GetPixelIndex(image,p);
-        p+=GetPixelComponents(image);
+        p+=GetPixelChannels(image);
       }
       count+=EncodeImage(image,scanline,(size_t) (row_bytes & 0x7FFF),
         packed_scanline);
@@ -1932,7 +1932,7 @@
             *blue++=ScaleQuantumToChar(GetPixelBlue(image,p));
             if (image->matte != MagickFalse)
               *opacity++=ScaleQuantumToChar((Quantum) (GetPixelAlpha(image,p)));
-            p+=GetPixelComponents(image);
+            p+=GetPixelChannels(image);
           }
           count+=EncodeImage(image,scanline,bytes_per_line & 0x7FFF,
             packed_scanline);