Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 uid=99(nobody) gid=98(nobody) groups=98(nobody) Safe-mode: OFF (not secure) /usr/doc/ImageMagick-5.5.4-3/api/ drwxr-xr-x | |
| Viewing file: Select action/file-type:
NAMEcolor - Count the Colors in an Image
SYNOPSISunsigned long GetNumberColors( const Image *image, FILE *file, ExceptionInfo *exception ); unsigned int IsGrayImage( const Image *image, ExceptionInfo *exception ); unsigned int IsMonochromeImage( const Image *image, ExceptionInfo *exception ); unsigned int IsOpaqueImage( const Image *image, ExceptionInfo *exception ); unsigned int IsPaletteImage( const Image *image, ExceptionInfo *exception ); unsigned int ListColorInfo( FILE *file, ExceptionInfo *exception ); unsigned int QueryColorDatabase( const char *name, PixelPacket *color, ExceptionInfo *exception ); unsigned int QueryColorname( const Image *image, const PixelPacket *color, const ComplianceType compliance, char *name, ExceptionInfo *exception );
FUNCTION DESCRIPTIONS
GetColorlistMethod GetColorList returns any colors that match the specified pattern and color standard. The format of the GetColorList function is:
filelist=GetColorList(const char *pattern,unsigned long *number_colors)
A description of each parameter follows:
GetNumberColorsMethod GetNumberColors returns the number of unique colors in an image. The format of the GetNumberColors method is: unsigned long GetNumberColors ( const Image *image, FILE *file, ExceptionInfo *exception ); A description of each parameter follows.
IsGrayImageIsGrayImage() returns True if all the pixels in the image have the same red, green, and blue intensities. The format of the IsGrayImage method is: unsigned int IsGrayImage ( const Image *image, ExceptionInfo *exception ); A description of each parameter follows:
IsMonochromeImageIsMonochromeImage() returns True if all the pixels in the image have the same red, green, and blue intensities and the intensity is either 0 or MaxRGB. The format of the IsMonochromeImage method is: unsigned int IsMonochromeImage ( const Image *image, ExceptionInfo *exception ); A description of each parameter follows:
IsOpaqueImageIsOpaqueImage() returns True if none of the pixels in the image have an opacity value other than opaque ( 0 ) . The format of the IsOpaqueImage method is: unsigned int IsOpaqueImage ( const Image *image, ExceptionInfo *exception ); A description of each parameter follows:
IsPaletteImageMethod IsPaletteImage returns True if the image is PseudoClass and has 256 unique colors or less. The format of the IsPaletteImage method is: unsigned int IsPaletteImage ( const Image *image, ExceptionInfo *exception ); A description of each parameter follows.
ListColorInfoListColorInfo() lists color names to the specified file. Color names are a convenience. Rather than defining a color by its red, green, and blue intensities just use a color name such as white, blue, or yellow. The format of the ListColorInfo method is: unsigned int ListColorInfo ( FILE *file, ExceptionInfo *exception ); A description of each parameter follows.
QueryColorDatabaseQueryColorDatabase() returns the red, green, blue, and opacity intensities for a given color name. The format of the QueryColorDatabase method is: unsigned int QueryColorDatabase ( const char *name, PixelPacket *color, ExceptionInfo *exception ); A description of each parameter follows:
QueryColornameQueryColorname() returns a named color for the given color intensity. If an exact match is not found, a hex value is return instead. For example an intensity of rgb: ( 0, 0, 0 ) returns black whereas rgb: ( 223, 223, 223 ) returns #dfdfdf. The format of the QueryColorname method is: unsigned int QueryColorname ( const Image *image, const PixelPacket *color, const ComplianceType compliance, char *name, ExceptionInfo *exception ); A description of each parameter follows.
|
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0334 ]-- |