Home
last modified time | relevance | path

Searched refs:magick (Results 1 – 25 of 177) sorted by relevance

12345678

/external/ImageMagick/coders/
Dthumbnail.c180 magick[MagickPathExtent]; in WriteTHUMBNAILImage() local
193 (void) ResetMagickMemory(magick,0,sizeof(magick)); in WriteTHUMBNAILImage()
196 magick[0]=magick[1]; in WriteTHUMBNAILImage()
197 magick[1]=magick[2]; in WriteTHUMBNAILImage()
198 magick[2]=GetStringInfoDatum(profile)[offset+i]; in WriteTHUMBNAILImage()
199 if (memcmp(magick,"\377\330\377",3) == 0) in WriteTHUMBNAILImage()
211 *write_info->magick='\0'; in WriteTHUMBNAILImage()
213 if ((*write_info->magick == '\0') || in WriteTHUMBNAILImage()
214 (LocaleCompare(write_info->magick,"THUMBNAIL") == 0)) in WriteTHUMBNAILImage()
Dpwp.c87 static MagickBooleanType IsPWP(const unsigned char *magick,const size_t length) in IsPWP() argument
91 if (LocaleNCompare((char *) magick,"SFW95",5) == 0) in IsPWP()
156 magick[MagickPathExtent]; in ReadPWPImage() local
173 count=ReadBlob(pwp_image,5,magick); in ReadPWPImage()
174 if ((count != 5) || (LocaleNCompare((char *) magick,"SFW95",5) != 0)) in ReadPWPImage()
186 magick[i]=magick[i+1]; in ReadPWPImage()
187 magick[17]=(unsigned char) c; in ReadPWPImage()
188 if (LocaleNCompare((char *) (magick+12),"SFW94A",6) == 0) in ReadPWPImage()
193 if (LocaleNCompare((char *) (magick+12),"SFW94A",6) != 0) in ReadPWPImage()
214 filesize=65535UL*magick[2]+256L*magick[1]+magick[0]; in ReadPWPImage()
[all …]
Dsct.c87 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
181 count=ReadBlob(image,2,(unsigned char *) magick); in ReadSCTImage()
182 if ((LocaleNCompare((char *) magick,"CT",2) != 0) && in ReadSCTImage()
183 (LocaleNCompare((char *) magick,"LW",2) != 0) && in ReadSCTImage()
184 (LocaleNCompare((char *) magick,"BM",2) != 0) && in ReadSCTImage()
185 (LocaleNCompare((char *) magick,"PG",2) != 0) && in ReadSCTImage()
186 (LocaleNCompare((char *) magick,"TX",2) != 0)) in ReadSCTImage()
188 if ((LocaleNCompare((char *) magick,"LW",2) == 0) || in ReadSCTImage()
[all …]
Dttf.c94 static MagickBooleanType IsPFA(const unsigned char *magick,const size_t length) in IsPFA() argument
98 if (LocaleNCompare((char *) magick,"%!PS-AdobeFont",14) == 0) in IsPFA()
129 static MagickBooleanType IsTTF(const unsigned char *magick,const size_t length) in IsTTF() argument
133 if (((int) magick[0] == 0x00) && ((int) magick[1] == 0x01) && in IsTTF()
134 ((int) magick[2] == 0x00) && ((int) magick[3] == 0x00) && in IsTTF()
135 ((int) magick[4] == 0x00)) in IsTTF()
247 (void) CopyMagickString(image->magick,image_info->magick,MagickPathExtent); in ReadTTFImage()
335 entry->magick=(IsImageFormatHandler *) IsTTF; in RegisterTTFImage()
344 entry->magick=(IsImageFormatHandler *) IsPFA; in RegisterTTFImage()
353 entry->magick=(IsImageFormatHandler *) IsPFA; in RegisterTTFImage()
[all …]
Dept.c75 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()
194 ept_info.magick=ReadBlobLSBLong(image); in ReadEPTImage()
195 if (ept_info.magick != 0xc6d3d0c5ul) in ReadEPTImage()
233 (void) CopyMagickString(read_info->magick,"EPS",MagickPathExtent); in ReadEPTImage()
238 (void) CopyMagickString(read_info->magick,"TIFF",MagickPathExtent); in ReadEPTImage()
246 (void) CopyMagickString(image->magick,"EPT",MagickPathExtent); in ReadEPTImage()
286 entry->magick=(IsImageFormatHandler *) IsEPT; in RegisterEPTImage()
295 entry->magick=(IsImageFormatHandler *) IsEPT; in RegisterEPTImage()
[all …]
Dmpeg.c96 static MagickBooleanType IsAVI(const unsigned char *magick,const size_t length) in IsAVI() argument
100 if (memcmp(magick,"RIFF",4) == 0) in IsAVI()
130 static MagickBooleanType IsMPEG(const unsigned char *magick,const size_t length) in IsMPEG() argument
134 if (memcmp(magick,"\000\000\001\263",4) == 0) in IsMPEG()
245 entry->magick=(IsImageFormatHandler *) IsAVI; in RegisterMPEGImage()
251 entry->magick=(IsImageFormatHandler *) IsMPEG; in RegisterMPEGImage()
257 entry->magick=(IsImageFormatHandler *) IsMPEG; in RegisterMPEGImage()
263 entry->magick=(IsImageFormatHandler *) IsMPEG; in RegisterMPEGImage()
269 entry->magick=(IsImageFormatHandler *) IsMPEG; in RegisterMPEGImage()
275 entry->magick=(IsImageFormatHandler *) IsMPEG; in RegisterMPEGImage()
[all …]
Dxtrn.c136 if (LocaleCompare(image_info->magick,"XTRNFILE") == 0) in ReadXTRNImage()
141 else if (LocaleCompare(image_info->magick,"XTRNIMAGE") == 0) in ReadXTRNImage()
161 else if (LocaleCompare(image_info->magick,"XTRNBLOB") == 0) in ReadXTRNImage()
179 else if (LocaleCompare(image_info->magick,"XTRNARRAY") == 0) in ReadXTRNImage()
215 *clone_info->magick='\0'; in ReadXTRNImage()
426 if (LocaleCompare(image_info->magick,"XTRNFILE") == 0) in WriteXTRNImage()
429 *clone_info->magick='\0'; in WriteXTRNImage()
435 else if (LocaleCompare(image_info->magick,"XTRNIMAGE") == 0) in WriteXTRNImage()
457 else if (LocaleCompare(image_info->magick,"XTRNBLOB") == 0) in WriteXTRNImage()
485 (void) CopyMagickString(image->magick,clone_info->magick, in WriteXTRNImage()
[all …]
Dmagick.c12982 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()
13265 (void) CopyMagickString(write_info->magick,"PNM",MagickPathExtent); in WriteMAGICKImage()
13267 (void) CopyMagickString(write_info->magick,"GIF",MagickPathExtent); in WriteMAGICKImage()
13270 (void) CopyMagickString(write_info->magick,value,MagickPathExtent); in WriteMAGICKImage()
13287 image->filename, write_info->magick); in WriteMAGICKImage()
Dhtml.c95 static MagickBooleanType IsHTML(const unsigned char *magick,const size_t length) in IsHTML() argument
99 if (LocaleNCompare((char *) magick,"<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()
277 *write_info->magick='\0'; in WriteHTMLImage()
280 if (LocaleCompare(image_info->magick,"SHTML") != 0) in WriteHTMLImage()
[all …]
Dfax.c98 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()
380 (void) CopyMagickString(write_info->magick,"FAX",MagickPathExtent); in WriteFAXImage()
Durl.c152 if (LocaleCompare(read_info->magick,"file") == 0) in ReadURLImage()
156 *read_info->magick='\0'; in ReadURLImage()
172 (void) CopyMagickString(filename,image_info->magick,MagickPathExtent); in ReadURLImage()
190 if (LocaleCompare(read_info->magick,"ftp") == 0) in ReadURLImage()
207 if (LocaleCompare(read_info->magick,"http") == 0) in ReadURLImage()
238 *read_info->magick='\0'; in ReadURLImage()
Dcals.c103 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()
280 (void) CopyMagickString(image->magick,"CALS",MagickPathExtent); in ReadCALSImage()
324 entry->magick=(IsImageFormatHandler *) IsCALS; in RegisterCALSImage()
333 entry->magick=(IsImageFormatHandler *) IsCALS; in RegisterCALSImage()
556 (void) CopyMagickString(write_info->magick,"GROUP4",MagickPathExtent); in WriteCALSImage()
Dpes.c386 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()
668 (void) CopyMagickString(image->magick,"PES",MagickPathExtent); in ReadPESImage()
705 entry->magick=(IsImageFormatHandler *) IsPES; in RegisterPESImage()
Dclip.c111 (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()
Dipl.c124 static MagickBooleanType IsIPL(const unsigned char *magick,const size_t length) in IsIPL() argument
128 if (LocaleNCompare((const char *) magick,"data",4) == 0) in IsIPL()
185 unsigned char magick[12], *pixels; in ReadIPLImage() local
226 count=ReadBlob(image,4,magick); in ReadIPLImage()
228 if((LocaleNCompare((char *) magick,"iiii",4) == 0)) in ReadIPLImage()
231 if((LocaleNCompare((char *) magick,"mmmm",4) == 0)) in ReadIPLImage()
238 count=ReadBlob(image, 8, magick); in ReadIPLImage()
242 count=ReadBlob(image,4,magick); in ReadIPLImage()
243 if((LocaleNCompare((char *) magick,"data",4) != 0)) in ReadIPLImage()
445 entry->magick=(IsImageFormatHandler *) IsIPL; in RegisterIPLImage()
Dinline.c126 if (LocaleCompare(image_info->magick,"DATA") == 0) in ReadINLINEImage()
314 if (LocaleCompare(write_info->magick,"INLINE") == 0) in WriteINLINEImage()
315 (void) CopyMagickString(write_info->magick,image->magick,MagickPathExtent); in WriteINLINEImage()
316 magick_info=GetMagickInfo(write_info->magick,exception); in WriteINLINEImage()
/external/ImageMagick/Magick++/tests/
DreadWriteImages.cpp101 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/
Dcommon.shi.in6 COMPARE="@abs_top_builddir@/utilities/magick compare"
7 COMPOSITE="@abs_top_builddir@/utilities/magick composite"
8 CONJURE="@abs_top_builddir@/utilities/magick conjure"
9 CONVERT="@abs_top_builddir@/utilities/magick convert"
10 DISPLAY="@abs_top_builddir@/utilities/magick display"
11 IDENTIFY="@abs_top_builddir@/utilities/magick identify"
12 MAGICK="@abs_top_builddir@/utilities/magick"
13 MONTAGE="@abs_top_builddir@/utilities/magick montage"
17 LD_LIBRARY_PATH="@abs_top_builddir@/magick/.libs:${LD_LIBRARY_PATH}"
DInstall-mac.txt60 $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-6.5.9-0.tar.gz
79 $magick> cd ImageMagick-6.5.9
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/utilities/
DMakefile.am18 utilities/magick
26 utilities_magick_SOURCES = utilities/magick.c
38 utilities/magick.1 \
39 utilities/magick-script.1 \
54 utilities/magick.1.in \
55 utilities/magick-script.1.in \
68 MAGICK_UTILITIES=animate compare composite conjure convert display identify import magick-script mo…
74 magick=`echo "magick" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
79 $(LN_S) $$magick $$target ; \
/external/ImageMagick/MagickCore/
Dconstitute.c362 magick[MagickPathExtent], in ReadImage() local
410 (void) CopyMagickString(magick,read_info->magick,MagickPathExtent); in ReadImage()
413 if (IsRightsAuthorized(domain,rights,read_info->magick) == MagickFalse) in ReadImage()
425 magick_info=GetMagickInfo(read_info->magick,sans_exception); in ReadImage()
482 delegate_info=GetDelegateInfo(read_info->magick,(char *) NULL,exception); in ReadImage()
488 magick_info=GetMagickInfo(read_info->magick,exception); in ReadImage()
505 delegate_info=GetDelegateInfo(read_info->magick,(char *) NULL,exception); in ReadImage()
510 read_info->magick); in ReadImage()
530 status=InvokeDelegate(read_info,image,read_info->magick,(char *) NULL, in ReadImage()
538 magick_info=GetMagickInfo(read_info->magick,exception); in ReadImage()
[all …]
Dcoder.c75 *magick, member
316 if (p->magick != (char *) NULL) in DestroyCoderNode()
317 p->magick=DestroyString(p->magick); in DestroyCoderNode()
382 coder_info->magick=(char *) p->magick; in AcquireCoderCache()
386 status&=AddValueToSplayTree(cache,ConstantString(coder_info->magick), in AcquireCoderCache()
767 (void) FormatLocaleFile(file,"%s",coder_info[i]->magick); in ListCoderInfo()
768 for (j=(ssize_t) strlen(coder_info[i]->magick); j <= 11; j++) in ListCoderInfo()
927 status=AddValueToSplayTree(cache,ConstantString(coder_info->magick), in LoadCoderCache()
932 coder_info->magick); in LoadCoderCache()
948 coder_info->magick=ConstantString(token); in LoadCoderCache()
/external/ImageMagick/MagickWand/
DMakefile.am44 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 …]
DAndroid.mk33 magick-cli.c \
34 magick-image.c \
35 magick-property.c \
36 magick-wand.c \
/external/ImageMagick/api_examples/
DREADME5 magick -size 100x100 xc:red \
20 magick.sh A simple "magick" shell command (as above)
21 magick_script As a "magick" script file

12345678