Lines Matching refs:reference_image

1551     *reference_image;  in ValidateImageFormatsInMemory()  local
1599 reference_image=ReadImage(image_info,exception); in ValidateImageFormatsInMemory()
1600 if ((reference_image == (Image *) NULL) || in ValidateImageFormatsInMemory()
1615 (double) reference_image->columns,(double) reference_image->rows); in ValidateImageFormatsInMemory()
1618 (void) FormatLocaleString(reference_image->filename,MagickPathExtent, in ValidateImageFormatsInMemory()
1620 status=SetImageType(reference_image,reference_types[j].type,exception); in ValidateImageFormatsInMemory()
1629 reference_image=DestroyImage(reference_image); in ValidateImageFormatsInMemory()
1632 status=SetImageDepth(reference_image,reference_types[j].depth,exception); in ValidateImageFormatsInMemory()
1639 reference_image=DestroyImage(reference_image); in ValidateImageFormatsInMemory()
1642 reference_image->compression=reference_formats[i].compression; in ValidateImageFormatsInMemory()
1643 status=WriteImage(image_info,reference_image,exception); in ValidateImageFormatsInMemory()
1644 reference_image=DestroyImage(reference_image); in ValidateImageFormatsInMemory()
1676 reference_image=ReadImage(image_info,exception); in ValidateImageFormatsInMemory()
1677 if ((reference_image == (Image *) NULL) || in ValidateImageFormatsInMemory()
1691 (void) FormatLocaleString(reference_image->filename,MagickPathExtent, in ValidateImageFormatsInMemory()
1695 reference_image->depth=reference_types[j].depth; in ValidateImageFormatsInMemory()
1696 reference_image->compression=reference_formats[i].compression; in ValidateImageFormatsInMemory()
1698 blob=(unsigned char *) ImageToBlob(image_info,reference_image,&length, in ValidateImageFormatsInMemory()
1709 reference_image=DestroyImage(reference_image); in ValidateImageFormatsInMemory()
1745 reference_image=DestroyImage(reference_image); in ValidateImageFormatsInMemory()
1754 difference_image=CompareImages(reference_image,reconstruct_image, in ValidateImageFormatsInMemory()
1757 reference_image=DestroyImage(reference_image); in ValidateImageFormatsInMemory()
1847 *reference_image, in ValidateImageFormatsOnDisk() local
1884 reference_image=ReadImage(image_info,exception); in ValidateImageFormatsOnDisk()
1885 if ((reference_image == (Image *) NULL) || in ValidateImageFormatsOnDisk()
1900 (double) reference_image->columns,(double) reference_image->rows); in ValidateImageFormatsOnDisk()
1903 (void) FormatLocaleString(reference_image->filename,MagickPathExtent, in ValidateImageFormatsOnDisk()
1905 status=SetImageType(reference_image,reference_types[j].type,exception); in ValidateImageFormatsOnDisk()
1914 reference_image=DestroyImage(reference_image); in ValidateImageFormatsOnDisk()
1917 status=SetImageDepth(reference_image,reference_types[j].depth,exception); in ValidateImageFormatsOnDisk()
1924 reference_image=DestroyImage(reference_image); in ValidateImageFormatsOnDisk()
1927 reference_image->compression=reference_formats[i].compression; in ValidateImageFormatsOnDisk()
1928 status=WriteImage(image_info,reference_image,exception); in ValidateImageFormatsOnDisk()
1929 reference_image=DestroyImage(reference_image); in ValidateImageFormatsOnDisk()
1945 reference_image=ReadImage(image_info,exception); in ValidateImageFormatsOnDisk()
1946 if ((reference_image == (Image *) NULL) || in ValidateImageFormatsOnDisk()
1958 (void) FormatLocaleString(reference_image->filename,MagickPathExtent, in ValidateImageFormatsOnDisk()
1960 reference_image->depth=reference_types[j].depth; in ValidateImageFormatsOnDisk()
1961 reference_image->compression=reference_formats[i].compression; in ValidateImageFormatsOnDisk()
1962 status=WriteImage(image_info,reference_image,exception); in ValidateImageFormatsOnDisk()
1969 reference_image=DestroyImage(reference_image); in ValidateImageFormatsOnDisk()
1985 reference_image=DestroyImage(reference_image); in ValidateImageFormatsOnDisk()
1994 difference_image=CompareImages(reference_image,reconstruct_image, in ValidateImageFormatsOnDisk()
1997 reference_image=DestroyImage(reference_image); in ValidateImageFormatsOnDisk()
2067 *reference_image, in ValidateImportExportPixels() local
2105 reference_image=ReadImage(image_info,exception); in ValidateImportExportPixels()
2106 if ((reference_image == (Image *) NULL) || in ValidateImportExportPixels()
2116 (void) SetImageColorspace(reference_image,CMYKColorspace,exception); in ValidateImportExportPixels()
2117 length=strlen(reference_map[i])*reference_image->columns* in ValidateImportExportPixels()
2118 reference_image->rows*reference_storage[j].quantum; in ValidateImportExportPixels()
2127 reference_image=DestroyImage(reference_image); in ValidateImportExportPixels()
2131 status=ExportImagePixels(reference_image,0,0,reference_image->columns, in ValidateImportExportPixels()
2132 reference_image->rows,reference_map[i],reference_storage[j].type,pixels, in ValidateImportExportPixels()
2141 reference_image=DestroyImage(reference_image); in ValidateImportExportPixels()
2144 (void) SetImageBackgroundColor(reference_image,exception); in ValidateImportExportPixels()
2145 status=ImportImagePixels(reference_image,0,0,reference_image->columns, in ValidateImportExportPixels()
2146 reference_image->rows,reference_map[i],reference_storage[j].type, in ValidateImportExportPixels()
2155 reference_image=DestroyImage(reference_image); in ValidateImportExportPixels()
2162 (void) SetImageExtent(reconstruct_image,reference_image->columns, in ValidateImportExportPixels()
2163 reference_image->rows,exception); in ValidateImportExportPixels()
2164 (void) SetImageColorspace(reconstruct_image,reference_image->colorspace, in ValidateImportExportPixels()
2177 reference_image=DestroyImage(reference_image); in ValidateImportExportPixels()
2183 difference_image=CompareImages(reference_image,reconstruct_image, in ValidateImportExportPixels()
2186 reference_image=DestroyImage(reference_image); in ValidateImportExportPixels()
2481 *reference_image; in main() local
2619 reference_image=ReadImage(image_info,exception); in main()
2622 if (reference_image == (Image *) NULL) in main()
2627 (void) CopyMagickString(reference_image->magick,ReferenceImageFormat, in main()
2631 (void) CopyMagickString(reference_image->filename,reference_filename, in main()
2633 status=WriteImage(image_info,reference_image,exception); in main()
2634 reference_image=DestroyImage(reference_image); in main()