/external/ImageMagick/coders/ |
D | pwp.c | 87 static MagickBooleanType IsPWP(const unsigned char *magick,const size_t length) in IsPWP() argument 91 if (LocaleNCompare((char *) magick,"SFW95",5) == 0) in IsPWP() 159 magick[MagickPathExtent]; in ReadPWPImage() local 179 memset(magick,0,sizeof(magick)); in ReadPWPImage() 180 count=ReadBlob(pwp_image,5,magick); in ReadPWPImage() 181 if ((count != 5) || (LocaleNCompare((char *) magick,"SFW95",5) != 0)) in ReadPWPImage() 192 (void) memset(magick,0,sizeof(magick)); in ReadPWPImage() 196 magick[i]=magick[i+1]; in ReadPWPImage() 197 magick[17]=(unsigned char) c; in ReadPWPImage() 198 if (LocaleNCompare((char *) (magick+12),"SFW94A",6) == 0) in ReadPWPImage() [all …]
|
D | sct.c | 87 static MagickBooleanType IsSCT(const unsigned char *magick,const size_t length) in IsSCT() argument 91 if (LocaleNCompare((const char *) magick,"CT",2) == 0) in IsSCT() 125 magick[2]; in ReadSCTImage() local 182 memset(magick,0,sizeof(magick)); in ReadSCTImage() 186 count=ReadBlob(image,2,(unsigned char *) magick); in ReadSCTImage() 187 if ((LocaleNCompare((char *) magick,"CT",2) != 0) && in ReadSCTImage() 188 (LocaleNCompare((char *) magick,"LW",2) != 0) && in ReadSCTImage() 189 (LocaleNCompare((char *) magick,"BM",2) != 0) && in ReadSCTImage() 190 (LocaleNCompare((char *) magick,"PG",2) != 0) && in ReadSCTImage() 191 (LocaleNCompare((char *) magick,"TX",2) != 0)) in ReadSCTImage() [all …]
|
D | video.c | 98 static MagickBooleanType IsAVI(const unsigned char *magick,const size_t length) in IsAVI() argument 102 if (memcmp(magick,"RIFF",4) == 0) in IsAVI() 107 static MagickBooleanType IsPNG(const unsigned char *magick,const size_t length) in IsPNG() argument 111 if (memcmp(magick,"\211PNG\r\n\032\n",8) == 0) in IsPNG() 116 static MagickBooleanType IsVIDEO(const unsigned char *magick, in IsVIDEO() argument 121 if (memcmp(magick,"\000\000\001\263",4) == 0) in IsVIDEO() 199 *read_info->magick='\0'; in ReadVIDEOImage() 206 (void) CopyMagickString(next->magick,image->magick,MagickPathExtent); in ReadVIDEOImage() 256 entry->magick=(IsImageFormatHandler *) IsPNG; in RegisterVIDEOImage() 261 entry->magick=(IsImageFormatHandler *) IsAVI; in RegisterVIDEOImage() [all …]
|
D | ttf.c | 95 static MagickBooleanType IsPFA(const unsigned char *magick,const size_t length) in IsPFA() argument 99 if (LocaleNCompare((char *) magick,"%!PS-AdobeFont",14) == 0) in IsPFA() 130 static MagickBooleanType IsTTF(const unsigned char *magick,const size_t length) in IsTTF() argument 134 if (((int) magick[0] == 0x00) && ((int) magick[1] == 0x01) && in IsTTF() 135 ((int) magick[2] == 0x00) && ((int) magick[3] == 0x00) && in IsTTF() 136 ((int) magick[4] == 0x00)) in IsTTF() 248 (void) CopyMagickString(image->magick,image_info->magick,MagickPathExtent); in ReadTTFImage() 340 entry->magick=(IsImageFormatHandler *) IsTTF; in RegisterTTFImage() 349 entry->magick=(IsImageFormatHandler *) IsPFA; in RegisterTTFImage() 358 entry->magick=(IsImageFormatHandler *) IsPFA; in RegisterTTFImage() [all …]
|
D | ept.c | 75 magick; member 121 static MagickBooleanType IsEPT(const unsigned char *magick,const size_t length) in IsEPT() argument 125 if (memcmp(magick,"\305\320\323\306",4) == 0) in IsEPT() 199 ept_info.magick=ReadBlobLSBLong(image); in ReadEPTImage() 200 if (ept_info.magick != 0xc6d3d0c5ul) in ReadEPTImage() 258 (void) CopyMagickString(read_info->magick,"EPS",MagickPathExtent); in ReadEPTImage() 265 (void) CopyMagickString(image->magick,"EPT",MagickPathExtent); in ReadEPTImage() 267 (void) CopyMagickString(read_info->magick,"TIFF",MagickPathExtent); in ReadEPTImage() 315 entry->magick=(IsImageFormatHandler *) IsEPT; in RegisterEPTImage() 324 entry->magick=(IsImageFormatHandler *) IsEPT; in RegisterEPTImage() [all …]
|
D | html.c | 95 static MagickBooleanType IsHTML(const unsigned char *magick,const size_t length) in IsHTML() argument 99 if (LocaleNCompare((char *) magick+1,"html",5) == 0) in IsHTML() 135 entry->magick=(IsImageFormatHandler *) IsHTML; in RegisterHTMLImage() 141 entry->magick=(IsImageFormatHandler *) IsHTML; in RegisterHTMLImage() 147 entry->magick=(IsImageFormatHandler *) IsHTML; in RegisterHTMLImage() 249 if ((LocaleCompare(image_info->magick,"FTP") == 0) || in WriteHTMLImage() 250 (LocaleCompare(image_info->magick,"HTTP") == 0)) in WriteHTMLImage() 259 (void) CopyMagickString(url,image_info->magick,MagickPathExtent); in WriteHTMLImage() 278 *write_info->magick='\0'; in WriteHTMLImage() 281 if (LocaleCompare(image_info->magick,"SHTML") != 0) in WriteHTMLImage() [all …]
|
D | magick.c | 12982 magick[MagickPathExtent]; member 13054 if (LocaleCompare(image_info->magick,"MAGICK") != 0) in ReadMAGICKImage() 13055 (void) CopyMagickString(blob_info->filename,image_info->magick, in ReadMAGICKImage() 13063 (void) CopyMagickString(blob_info->magick,MagickImageList[i].magick, in ReadMAGICKImage() 13271 (void) CopyMagickString(write_info->magick,"PNM",MagickPathExtent); in WriteMAGICKImage() 13273 (void) CopyMagickString(write_info->magick,"GIF",MagickPathExtent); in WriteMAGICKImage() 13276 …(void) CopyMagickString(write_info->magick,value,MagickPathExtent); /* use the requested format */ in WriteMAGICKImage() 13293 image->filename,write_info->magick); in WriteMAGICKImage()
|
D | url.c | 155 if (LocaleCompare(read_info->magick,"https") == 0) in ReadURLImage() 169 *read_info->magick='\0'; in ReadURLImage() 182 if (LocaleCompare(read_info->magick,"file") == 0) in ReadURLImage() 186 *read_info->magick='\0'; in ReadURLImage() 204 (void) CopyMagickString(filename,image_info->magick,MagickPathExtent); in ReadURLImage() 222 if (LocaleCompare(read_info->magick,"ftp") == 0) in ReadURLImage() 239 if (LocaleCompare(read_info->magick,"http") == 0) in ReadURLImage() 270 *read_info->magick='\0'; in ReadURLImage()
|
D | fax.c | 98 static MagickBooleanType IsFAX(const unsigned char *magick,const size_t length) in IsFAX() argument 102 if (LocaleNCompare((char *) magick,"DFAX",4) == 0) in IsFAX() 175 (void) CopyMagickString(image->magick,"G4",MagickPathExtent); in FaxReadG4() 235 if (LocaleCompare(image_info->magick,"G4") == 0) in ReadFAXImage() 281 entry->magick=(IsImageFormatHandler *) IsFAX; in RegisterFAXImage() 287 entry->magick=(IsImageFormatHandler *) IsFAX; in RegisterFAXImage() 293 entry->magick=(IsImageFormatHandler *) IsFAX; in RegisterFAXImage() 383 (void) CopyMagickString(write_info->magick,"FAX",MagickPathExtent); in WriteFAXImage()
|
D | cals.c | 103 static MagickBooleanType IsCALS(const unsigned char *magick,const size_t length) in IsCALS() argument 107 if (LocaleNCompare((const char *) magick,"version: MIL-STD-1840",21) == 0) in IsCALS() 109 if (LocaleNCompare((const char *) magick,"srcdocid:",9) == 0) in IsCALS() 111 if (LocaleNCompare((const char *) magick,"rorient:",8) == 0) in IsCALS() 281 (void) CopyMagickString(image->magick,"CALS",MagickPathExtent); in ReadCALSImage() 325 entry->magick=(IsImageFormatHandler *) IsCALS; in RegisterCALSImage() 334 entry->magick=(IsImageFormatHandler *) IsCALS; in RegisterCALSImage() 557 (void) CopyMagickString(write_info->magick,"GROUP4",MagickPathExtent); in WriteCALSImage()
|
D | clip.c | 111 (void) CopyMagickString(read_info->magick,"MIFF",MagickPathExtent); in ReadCLIPImage() 238 *write_info->magick='\0'; in WriteCLIPImage() 240 if ((*write_info->magick == '\0') || in WriteCLIPImage() 241 (LocaleCompare(write_info->magick,"CLIP") == 0)) in WriteCLIPImage()
|
D | pes.c | 386 static MagickBooleanType IsPES(const unsigned char *magick,const size_t length) in IsPES() argument 390 if (LocaleNCompare((const char *) magick,"#PES",4) == 0) in IsPES() 468 magick[4], in ReadPESImage() local 491 count=ReadBlob(image,4,magick); in ReadPESImage() 492 if ((count != 4) || (LocaleNCompare((char *) magick,"#PES",4) != 0)) in ReadPESImage() 680 (void) CopyMagickString(image->magick,"PES",MagickPathExtent); in ReadPESImage() 717 entry->magick=(IsImageFormatHandler *) IsPES; in RegisterPESImage()
|
D | sfw.c | 87 static MagickBooleanType IsSFW(const unsigned char *magick,const size_t length) in IsSFW() argument 91 if (LocaleNCompare((const char *) magick,"SFW94",5) == 0) in IsSFW() 353 (void) CopyMagickString(read_info->magick,"JPEG",MagickPathExtent); in ReadSFWImage() 364 (void) CopyMagickString(jpeg_image->magick,image->magick,MagickPathExtent); in ReadSFWImage() 410 entry->magick=(IsImageFormatHandler *) IsSFW; in RegisterSFWImage()
|
D | ipl.c | 118 static MagickBooleanType IsIPL(const unsigned char *magick,const size_t length) in IsIPL() argument 122 if (LocaleNCompare((const char *) magick,"data",4) == 0) in IsIPL() 179 unsigned char magick[12], *pixels; in ReadIPLImage() local 223 count=ReadBlob(image,4,magick); in ReadIPLImage() 226 if((LocaleNCompare((char *) magick,"iiii",4) == 0)) in ReadIPLImage() 229 if((LocaleNCompare((char *) magick,"mmmm",4) == 0)) in ReadIPLImage() 236 count=ReadBlob(image, 8, magick); in ReadIPLImage() 240 count=ReadBlob(image,4,magick); in ReadIPLImage() 241 if((count != 4) || (LocaleNCompare((char *) magick,"data",4) != 0)) in ReadIPLImage() 448 entry->magick=(IsImageFormatHandler *) IsIPL; in RegisterIPLImage()
|
D | jp2.c | 110 static MagickBooleanType IsJ2K(const unsigned char *magick,const size_t length) in IsJ2K() argument 114 if (memcmp(magick,"\xff\x4f\xff\x51",4) == 0) in IsJ2K() 144 static MagickBooleanType IsJP2(const unsigned char *magick,const size_t length) in IsJP2() argument 148 if (memcmp(magick,"\x0d\x0a\x87\x0a",4) == 0) in IsJP2() 152 if (memcmp(magick,"\x00\x00\x00\x0c\x6a\x50\x20\x20\x0d\x0a\x87\x0a",12) == 0) in IsJP2() 315 if (LocaleCompare(image_info->magick,"JPT") == 0) in ReadJP2Image() 591 entry->magick=(IsImageFormatHandler *) IsJP2; in RegisterJP2Image() 604 entry->magick=(IsImageFormatHandler *) IsJ2K; in RegisterJP2Image() 617 entry->magick=(IsImageFormatHandler *) IsJ2K; in RegisterJP2Image() 630 entry->magick=(IsImageFormatHandler *) IsJP2; in RegisterJP2Image() [all …]
|
/external/ImageMagick/Magick++/tests/ |
D | readWriteImages.cpp | 101 if (fourth.magick() != "MIFF") in main() 105 << " Image magick: " << fourth.magick() in main() 113 if (fourth.magick() != "ICO") in main() 117 << " Image magick: " << fourth.magick() in main() 122 third.magick("BMP"); in main() 126 if (fourth.magick() != "BMP") in main() 130 << " Image magick: " << fourth.magick() in main() 138 if (fourth.magick() != "PDB") in main() 142 << " Image magick: " << fourth.magick() in main() 147 third.magick(""); in main() [all …]
|
/external/ImageMagick/utilities/ |
D | Makefile.am | 19 utilities/magick 27 utilities_magick_SOURCES = utilities/magick.c 39 utilities/magick.1 \ 40 utilities/magick-script.1 \ 55 utilities/magick.1.in \ 56 utilities/magick-script.1.in \ 68 MAGICK_UTILITIES=animate compare composite conjure convert display identify import magick-script mo… 83 magick=`echo "magick" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ 88 $(LN_S) $$magick $$target ; \
|
/external/ImageMagick/ |
D | common.shi.in | 10 COMPARE="@abs_top_builddir@/utilities/magick compare" 11 COMPOSITE="@abs_top_builddir@/utilities/magick composite" 12 CONJURE="@abs_top_builddir@/utilities/magick conjure" 13 CONVERT="@abs_top_builddir@/utilities/magick convert" 14 DISPLAY="@abs_top_builddir@/utilities/magick display" 15 IDENTIFY="@abs_top_builddir@/utilities/magick identify" 16 MAGICK="@abs_top_builddir@/utilities/magick" 17 MONTAGE="@abs_top_builddir@/utilities/magick montage"
|
D | Install-mac.txt | 60 $magick> sudo port -v install freetype +bytecode 61 $magick> sudo port -v install librsvg 62 $magick> sudo port -v install graphviz +gs +wmf +jbig +jpeg2 +lcms 69 $magick> sudo port install jpeg 78 $magick> tar xvfz ImageMagick-7.0.7-0.tar.gz 79 $magick> cd ImageMagick-7.0.7 83 $magick> ./configure --prefix=/opt --with-quantum-depth=16 \ 88 $magick> make 92 $magick> sudo make install 96 $magick> /opt/local/bin/identify -list font
|
/external/ImageMagick/MagickCore/ |
D | constitute.c | 434 magick[MagickPathExtent], in ReadImage() local 482 (void) CopyMagickString(magick,read_info->magick,MagickPathExtent); in ReadImage() 487 magick_info=GetMagickInfo(read_info->magick,sans_exception); in ReadImage() 489 magick_info=GetMagickInfo(read_info->magick,exception); in ReadImage() 543 delegate_info=GetDelegateInfo(read_info->magick,(char *) NULL,exception); in ReadImage() 549 magick_info=GetMagickInfo(read_info->magick,exception); in ReadImage() 560 status=IsCoderAuthorized(read_info->magick,ReadPolicyRights,exception); in ReadImage() 569 delegate_info=GetDelegateInfo(read_info->magick,(char *) NULL,exception); in ReadImage() 574 read_info->magick); in ReadImage() 594 status=InvokeDelegate(read_info,image,read_info->magick,(char *) NULL, in ReadImage() [all …]
|
D | coder.c | 74 *magick, member 135 if (p->magick != (char *) NULL) in DestroyCoderNode() 136 p->magick=DestroyString(p->magick); in DestroyCoderNode() 176 coder_info->magick=(char *) p->magick; in AcquireCoderCache() 180 status&=AddValueToSplayTree(cache,ConstantString(coder_info->magick), in AcquireCoderCache() 550 (void) FormatLocaleFile(file,"%s",coder_info[i]->magick); in ListCoderInfo() 551 for (j=(ssize_t) strlen(coder_info[i]->magick); j <= 15; j++) in ListCoderInfo()
|
D | blob.c | 453 if (*blob_info->magick == '\0') in BlobToImage() 455 magick_info=GetMagickInfo(blob_info->magick,exception); in BlobToImage() 460 blob_info->magick); in BlobToImage() 474 blob_info->magick,filename); in BlobToImage() 496 blob_info->magick,blob_info->filename); in BlobToImage() 512 (void) CopyMagickString(images->magick,magick_info->name, in BlobToImage() 799 if (*blob_info->magick == '\0') in CustomStreamToImage() 801 magick_info=GetMagickInfo(blob_info->magick,exception); in CustomStreamToImage() 806 blob_info->magick); in CustomStreamToImage() 823 blob_info->magick,filename); in CustomStreamToImage() [all …]
|
D | vms.c | 243 MagickExport MagickBooleanType VMSIsMagickConflict(const char *magick) in VMSIsMagickConflict() argument 255 assert(magick != (char *) NULL); in VMSIsMagickConflict() 256 device.dsc$w_length=strlen(magick); in VMSIsMagickConflict() 257 device.dsc$a_pointer=(char *) magick; in VMSIsMagickConflict()
|
/external/ImageMagick/MagickWand/ |
D | Makefile.am | 44 MagickWand/magick-cli.c \ 45 MagickWand/magick-cli.h \ 46 MagickWand/magick-image.c \ 47 MagickWand/magick-image.h \ 48 MagickWand/magick-property.c \ 49 MagickWand/magick-property.h \ 50 MagickWand/magick-wand.c \ 51 MagickWand/magick-wand-private.h \ 91 MagickWand/magick-cli.h \ 92 MagickWand/magick-image.h \ [all …]
|
/external/ImageMagick/api_examples/ |
D | README | 5 magick -size 100x100 xc:red \ 20 magick_shell.sh A simple "magick" shell command (as above) 21 magick_script.mgk As a "magick" script file
|