Lines Matching refs:tile_image
1288 *tile_image; in WritePDFImage() local
2322 tile_image=ThumbnailImage(image,geometry.width,geometry.height,exception); in WritePDFImage()
2323 if (tile_image == (Image *) NULL) in WritePDFImage()
2377 (double) tile_image->columns,(double) tile_image->rows); in WritePDFImage()
2389 tile_image->columns); in WritePDFImage()
2392 tile_image->rows); in WritePDFImage()
2407 number_pixels=(MagickSizeType) tile_image->columns*tile_image->rows; in WritePDFImage()
2411 (SetImageGray(tile_image,exception) != MagickFalse))) in WritePDFImage()
2420 (void) HuffmanEncodeImage(image_info,image,tile_image, in WritePDFImage()
2424 (void) Huffman2DEncodeImage(image_info,image,tile_image,exception); in WritePDFImage()
2429 status=InjectImageBlob(image_info,image,tile_image,"jpeg", in WritePDFImage()
2441 status=InjectImageBlob(image_info,image,tile_image,"jp2",exception); in WritePDFImage()
2463 tile_image=DestroyImage(tile_image); in WritePDFImage()
2471 for (y=0; y < (ssize_t) tile_image->rows; y++) in WritePDFImage()
2473 p=GetVirtualPixels(tile_image,0,y,tile_image->columns,1, in WritePDFImage()
2477 for (x=0; x < (ssize_t) tile_image->columns; x++) in WritePDFImage()
2480 tile_image,p))); in WritePDFImage()
2481 p+=GetPixelChannels(tile_image); in WritePDFImage()
2508 for (y=0; y < (ssize_t) tile_image->rows; y++) in WritePDFImage()
2510 p=GetVirtualPixels(tile_image,0,y,tile_image->columns,1, in WritePDFImage()
2514 for (x=0; x < (ssize_t) tile_image->columns; x++) in WritePDFImage()
2517 GetPixelLuma(tile_image,p)))); in WritePDFImage()
2518 p+=GetPixelChannels(tile_image); in WritePDFImage()
2527 if ((tile_image->storage_class == DirectClass) || in WritePDFImage()
2528 (tile_image->colors > 256) || (compression == JPEGCompression) || in WritePDFImage()
2534 status=InjectImageBlob(image_info,image,tile_image,"jpeg", in WritePDFImage()
2546 status=InjectImageBlob(image_info,image,tile_image,"jp2",exception); in WritePDFImage()
2565 length*=tile_image->colorspace == CMYKColorspace ? 4UL : 3UL; in WritePDFImage()
2569 tile_image=DestroyImage(tile_image); in WritePDFImage()
2577 for (y=0; y < (ssize_t) tile_image->rows; y++) in WritePDFImage()
2579 p=GetVirtualPixels(tile_image,0,y,tile_image->columns,1, in WritePDFImage()
2583 for (x=0; x < (ssize_t) tile_image->columns; x++) in WritePDFImage()
2585 *q++=ScaleQuantumToChar(GetPixelRed(tile_image,p)); in WritePDFImage()
2586 *q++=ScaleQuantumToChar(GetPixelGreen(tile_image,p)); in WritePDFImage()
2587 *q++=ScaleQuantumToChar(GetPixelBlue(tile_image,p)); in WritePDFImage()
2588 if (tile_image->colorspace == CMYKColorspace) in WritePDFImage()
2589 *q++=ScaleQuantumToChar(GetPixelBlack(tile_image,p)); in WritePDFImage()
2590 p+=GetPixelChannels(tile_image); in WritePDFImage()
2617 for (y=0; y < (ssize_t) tile_image->rows; y++) in WritePDFImage()
2619 p=GetVirtualPixels(tile_image,0,y,tile_image->columns,1, in WritePDFImage()
2623 for (x=0; x < (ssize_t) tile_image->columns; x++) in WritePDFImage()
2626 GetPixelRed(tile_image,p))); in WritePDFImage()
2628 GetPixelGreen(tile_image,p))); in WritePDFImage()
2630 GetPixelBlue(tile_image,p))); in WritePDFImage()
2633 GetPixelBlack(tile_image,p))); in WritePDFImage()
2634 p+=GetPixelChannels(tile_image); in WritePDFImage()
2661 tile_image=DestroyImage(tile_image); in WritePDFImage()
2670 for (y=0; y < (ssize_t) tile_image->rows; y++) in WritePDFImage()
2672 p=GetVirtualPixels(tile_image,0,y,tile_image->columns,1, in WritePDFImage()
2676 for (x=0; x < (ssize_t) tile_image->columns; x++) in WritePDFImage()
2678 *q++=(unsigned char) GetPixelIndex(tile_image,p); in WritePDFImage()
2679 p+=GetPixelChannels(tile_image); in WritePDFImage()
2706 for (y=0; y < (ssize_t) tile_image->rows; y++) in WritePDFImage()
2708 p=GetVirtualPixels(tile_image,0,y,tile_image->columns,1, in WritePDFImage()
2712 for (x=0; x < (ssize_t) tile_image->columns; x++) in WritePDFImage()
2715 GetPixelIndex(tile_image,p)); in WritePDFImage()
2724 tile_image=DestroyImage(tile_image); in WritePDFImage()