Home | History | Annotate | Download | only in coders

Lines Matching defs:tile_image

1091               *tile_image;
1126 tile_image=CloneImage(image,1UL*(frame.right-frame.left),
1128 if (tile_image == (Image *) NULL)
1134 tile_image->depth=1UL*pixmap.component_size;
1135 tile_image->alpha_trait=pixmap.component_count == 4 ?
1137 tile_image->resolution.x=(double) pixmap.horizontal_resolution;
1138 tile_image->resolution.y=(double) pixmap.vertical_resolution;
1139 tile_image->units=PixelsPerInchResolution;
1140 if (tile_image->alpha_trait != UndefinedPixelTrait)
1141 image->alpha_trait=tile_image->alpha_trait;
1148 tile_image->colors=2;
1153 tile_image->colors=1UL*ReadBlobMSBShort(image)+1;
1155 status=AcquireImageColormap(tile_image,tile_image->colors,
1159 tile_image=DestroyImage(tile_image);
1165 for (i=0; i < (ssize_t) tile_image->colors; i++)
1167 j=ReadBlobMSBShort(image) % tile_image->colors;
1170 tile_image->colormap[j].red=(Quantum)
1172 tile_image->colormap[j].green=(Quantum)
1174 tile_image->colormap[j].blue=(Quantum)
1180 for (i=0; i < (ssize_t) tile_image->colors; i++)
1182 tile_image->colormap[i].red=(Quantum) (QuantumRange-
1183 tile_image->colormap[i].red);
1184 tile_image->colormap[i].green=(Quantum) (QuantumRange-
1185 tile_image->colormap[i].green);
1186 tile_image->colormap[i].blue=(Quantum) (QuantumRange-
1187 tile_image->colormap[i].blue);
1208 pixels=DecodeImage(image,tile_image,1UL*bytes_per_line,1,&extent,
1211 pixels=DecodeImage(image,tile_image,1UL*bytes_per_line,1U*
1215 tile_image=DestroyImage(tile_image);
1223 for (y=0; y < (ssize_t) tile_image->rows; y++)
1227 q=QueueAuthenticPixels(tile_image,0,y,tile_image->columns,1,
1231 for (x=0; x < (ssize_t) tile_image->columns; x++)
1233 if (tile_image->storage_class == PseudoClass)
1235 index=ConstrainColormapIndex(tile_image,*p,exception);
1236 SetPixelIndex(tile_image,index,q);
1237 SetPixelRed(tile_image,
1238 tile_image->colormap[(ssize_t) index].red,q);
1239 SetPixelGreen(tile_image,
1240 tile_image->colormap[(ssize_t) index].green,q);
1241 SetPixelBlue(tile_image,
1242 tile_image->colormap[(ssize_t) index].blue,q);
1250 SetPixelRed(tile_image,ScaleCharToQuantum(
1252 SetPixelGreen(tile_image,ScaleCharToQuantum(
1255 SetPixelBlue(tile_image,ScaleCharToQuantum(
1259 if (tile_image->alpha_trait == UndefinedPixelTrait)
1264 SetPixelRed(tile_image,ScaleCharToQuantum(*p),q);
1265 SetPixelGreen(tile_image,ScaleCharToQuantum(
1266 *(p+tile_image->columns)),q);
1267 SetPixelBlue(tile_image,ScaleCharToQuantum(
1268 *(p+2*tile_image->columns)),q);
1275 SetPixelAlpha(tile_image,ScaleCharToQuantum(*p),q);
1276 SetPixelRed(tile_image,ScaleCharToQuantum(
1277 *(p+tile_image->columns)),q);
1278 SetPixelGreen(tile_image,ScaleCharToQuantum(
1279 *(p+2*tile_image->columns)),q);
1280 SetPixelBlue(tile_image,ScaleCharToQuantum(
1281 *(p+3*tile_image->columns)),q);
1285 q+=GetPixelChannels(tile_image);
1287 if (SyncAuthenticPixels(tile_image,exception) == MagickFalse)
1289 if ((tile_image->storage_class == DirectClass) &&
1292 p+=(pixmap.component_count-1)*tile_image->columns;
1296 status=SetImageProgress(image,LoadImageTag,y,tile_image->rows);
1304 (void) CompositeImage(image,tile_image,CopyCompositeOp,
1306 tile_image=DestroyImage(tile_image);
1397 *tile_image;
1449 tile_image=ReadImage(read_info,exception);
1452 if (tile_image == (Image *) NULL)
1455 (double) MagickMax(image->columns,tile_image->columns),
1456 (double) MagickMax(image->rows,tile_image->rows));
1458 MagickMax(image->columns,tile_image->columns),
1459 MagickMax(image->rows,tile_image->rows),exception);
1460 (void) TransformImageColorspace(image,tile_image->colorspace,exception);
1461 (void) CompositeImage(image,tile_image,CopyCompositeOp,MagickTrue,
1463 image->compression=tile_image->compression;
1464 tile_image=DestroyImage(tile_image);