Searched refs:number_colors (Results 1 - 25 of 30) sorted by relevance

12

/external/ImageMagick/MagickCore/
H A Dquantize.h38 number_colors; /* desired maximum number of colors */ member in struct:_QuantizeInfo
H A Dhistogram.c521 % size_t *number_colors,ExceptionInfo *exception)
533 size_t *number_colors,ExceptionInfo *exception)
541 *number_colors=0;
556 *number_colors=cube_info->colors;
1039 number_colors;
1041 number_colors=0;
1049 number_colors=cube_info->colors;
1051 return(number_colors);
1053 histogram=GetImageHistogram(image,&number_colors,exception);
1055 return(number_colors);
522 GetImageHistogram(const Image *image, size_t *number_colors,ExceptionInfo *exception) argument
1023 number_colors; local
[all...]
H A Dcolor.c1274 % size_t *number_colors,ExceptionInfo *exception)
1280 % o number_colors: This integer returns the number of colors in the list.
1312 size_t *number_colors,ExceptionInfo *exception)
1328 assert(number_colors != (size_t *) NULL);
1329 *number_colors=0;
1353 *number_colors=(size_t) i;
1373 % char **GetColorList(const char *pattern,size_t *number_colors,
1380 % o number_colors: This integer returns the number of colors in the list.
1406 size_t *number_colors,ExceptionInfo *exception)
1422 assert(number_colors !
1298 GetColorInfoList(const char *pattern, size_t *number_colors,ExceptionInfo *exception) argument
1391 GetColorList(const char *pattern, size_t *number_colors,ExceptionInfo *exception) argument
1924 number_colors; local
[all...]
H A Dquantize.c652 if ((cube_info->quantize_info->number_colors == 2) &&
752 if ((cube_info->quantize_info->number_colors == 2) &&
1061 clone_info->number_colors=quantize_info->number_colors;
1211 quantize_info.number_colors=image->colors;
2002 % one tells Quantize to choose a optimal tree depth of Log4(number_colors).
2007 % Log4(number_colors) is required. To expand the color tree completely,
2310 quantize_info->number_colors=256;
2475 quantize_info->number_colors=(size_t) MagickMin((ssize_t) levels*levels*
2684 maximum_colors=quantize_info->number_colors;
[all...]
H A Dxwindow.c1015 % unsigned int number_colors,XColor *color)
1029 % o number_colors: Specifies the number of XColor structures in the
1036 XColor *colors,unsigned int number_colors,XColor *color)
1072 colors=(XColor *) AcquireQuantumMemory(number_colors,sizeof(*colors));
1079 for (i=0; i < (int) number_colors; i++)
1081 if (number_colors > 256)
1082 number_colors=256;
1083 (void) XQueryColors(display,colormap,colors,(int) number_colors);
1088 for (i=0; i < (int) number_colors; i++)
4224 number_colors;
1026 XBestPixel(Display *display,const Colormap colormap, XColor *colors,unsigned int number_colors,XColor *color) argument
4187 number_colors; local
7732 number_colors, local
[all...]
H A Ddistort.c2905 number_colors;
2915 number_colors=0;
2917 number_colors++;
2919 number_colors++;
2921 number_colors++;
2924 number_colors++;
2927 number_colors++;
2940 arguments, number_colors, exception);
3143 for(k=0; k<number_arguments; k+=2+number_colors) {
3189 for(k=0; k<number_arguments; k+=2+number_colors) {
2897 number_colors; local
[all...]
H A Dattribute.c1275 quantize_info->number_colors=2;
1306 quantize_info->number_colors=256;
H A Deffect.c2438 quantize_info.number_colors=colors;
2451 quantize_info.number_colors=colors;
/external/ImageMagick/coders/
H A Dpes.c465 number_colors,
509 number_colors=(size_t) ReadBlobByte(image)+1;
510 for (i=0; i < (ssize_t) number_colors; i++)
521 if (DiscardBlobBytes(image,532L-number_colors-21) == MagickFalse)
460 number_colors, local
H A Ddib.c95 number_colors,
522 dib_info.number_colors=ReadBlobLSBLong(image);
548 dib_info.number_colors > (size_t) (1UL << dib_info.bits_per_pixel))
575 if ((dib_info.number_colors > 256) || (dib_info.colors_important > 256))
577 if ((dib_info.number_colors != 0) || (dib_info.bits_per_pixel < 16))
583 image->colors=dib_info.number_colors;
1059 dib_info.number_colors=0;
1072 dib_info.number_colors=(dib_info.bits_per_pixel == 16) ? 0 :
1101 dib_info.colors_important=dib_info.number_colors;
1281 (void) WriteBlobLSBLong(image,(unsigned int) dib_info.number_colors);
93 number_colors, member in struct:_DIBInfo
[all...]
H A Dicon.c134 number_colors,
400 icon_info.number_colors=ReadBlobLSBLong(image);
425 " colors = %.20g",(double ) icon_info.number_colors);
431 if ((icon_info.number_colors != 0) || (icon_info.bits_per_pixel <= 16U))
434 image->colors=icon_info.number_colors;
1032 icon_info.number_colors=0;
1052 icon_info.number_colors=one << icon_info.bits_per_pixel;
1053 if (icon_info.number_colors < next->colors)
1056 icon_info.number_colors=0;
1080 icon_info.size+=(4*icon_info.number_colors);
131 number_colors, member in struct:_IconInfo
[all...]
H A Dbmp.c136 number_colors,
619 bmp_info.number_colors=0;
647 bmp_info.number_colors=ReadBlobLSBLong(image);
705 " Number of colors: %lu",bmp_info.number_colors);
831 bmp_info.number_colors > (1U << bmp_info.bits_per_pixel))
869 image->colors=bmp_info.number_colors;
1631 bmp_info.number_colors=1U << bmp_info.bits_per_pixel;
1635 if ((size_t) bmp_info.number_colors < image->colors)
1653 bmp_info.number_colors=0;
1719 bmp_info.colors_important=bmp_info.number_colors;
133 number_colors, member in struct:_BMPInfo
[all...]
H A Dpng.c1936 number_colors,
2124 number_colors=0;
2728 (void) png_get_PLTE(ping,ping_info,&palette,&number_colors);
2730 if ((number_colors == 0) &&
3007 (void) png_get_PLTE(ping,ping_info,&palette,&number_colors);
3008 image->colors=(size_t) number_colors;
3012 " Reading PNG PLTE chunk: number_colors: %d.",number_colors);
3029 (void) png_get_PLTE(ping,ping_info,&palette,&number_colors);
3031 for (i=0; i < (ssize_t) number_colors;
1929 number_colors, local
8022 number_colors, local
[all...]
H A Dpsd.c1899 number_colors;
1904 number_colors=length/3;
1905 if (number_colors > 65536)
1907 if (AcquireImageColormap(image,number_colors,exception) == MagickFalse)
1894 number_colors; local
H A Dpalm.c818 quantize_info->number_colors=image->colors;
/external/ImageMagick/www/api/
H A Dcolor.php92 size_t *number_colors,ExceptionInfo *exception)
106 <dt>number_colors</dt>
122 char **GetColorList(const char *pattern,size_t *number_colors,
137 <dt>number_colors</dt>
H A Dhistogram.php65 size_t *number_colors,ExceptionInfo *exception)
H A Dmagick-image.php3029 size_t *number_colors)
3043 <dt>number_colors</dt>
4754 const size_t number_colors,const ColorspaceType colorspace,
4770 <dt>number_colors</dt>
4779 <dd>Normally, this integer value is zero or one. A zero or one tells Quantize to choose a optimal tree depth of Log4(number_colors). A tree of this depth generally allows the best representation of the reference image with the least amount of memory and the fastest computational speed. In some cases, such as an image with low color dispersion (a few number of colors), a value other than Log4(number_colors) is required. To expand the color tree completely, use a value of 8. </dd>
4799 const size_t number_colors,const ColorspaceType colorspace,
4815 <dt>number_colors</dt>
4824 <dd>Normally, this integer value is zero or one. A zero or one tells Quantize to choose a optimal tree depth of Log4(number_colors). A tree of this depth generally allows the best representation of the reference image with the least amount of memory and the fastest computational speed. In some cases, such as an image with low color dispersion (a few number of colors), a value other than Log4(number_colors) i
[all...]
/external/ImageMagick/MagickWand/
H A Danimate.c612 quantize_info->number_colors=0;
620 quantize_info->number_colors=StringToUnsignedLong(argv[i]);
1073 quantize_info->number_colors=2;
H A Dimport.c544 quantize_info->number_colors=0;
552 quantize_info->number_colors=StringToUnsignedLong(argv[i]);
980 quantize_info->number_colors=2;
H A Doperation.c207 number_colors;
219 number_colors=0;
221 number_colors++;
223 number_colors++;
225 number_colors++;
228 number_colors++;
231 number_colors++;
243 x += number_colors; /* color argument found */
248 if ((x % (2+number_colors)) != 0)
2062 _quantize_info->number_colors
203 number_colors; local
[all...]
H A Ddisplay.c814 quantize_info->number_colors=0;
822 quantize_info->number_colors=StringToUnsignedLong(argv[i]);
1399 quantize_info->number_colors=2;
H A Dmogrify.c480 number_colors;
498 number_colors=0;
500 number_colors++;
502 number_colors++;
504 number_colors++;
507 number_colors++;
510 number_colors++;
528 x += number_colors; /* color argument */
538 number_arguments=(x/2)*(2+number_colors);
542 error = ( x % (2+number_colors) !
475 number_colors; local
[all...]
H A Dmagick-image.c5109 % size_t *number_colors)
5115 % o number_colors: the number of unique colors in the image and the number
5120 size_t *number_colors)
5141 histogram=GetImageHistogram(wand->images,number_colors,wand->exception);
5144 pixel_wands=NewPixelWands(*number_colors);
5145 for (i=0; i < (ssize_t) *number_colors; i++)
8042 % const size_t number_colors,const ColorspaceType colorspace,
8050 % o number_colors: the number of colors.
8056 % one tells Quantize to choose a optimal tree depth of Log4(number_colors).% A tree of this depth generally allows the best representation of the
8060 % Log4(number_colors) i
5015 MagickGetImageHistogram(MagickWand *wand, size_t *number_colors) argument
7912 MagickQuantizeImage(MagickWand *wand, const size_t number_colors,const ColorspaceType colorspace, const size_t treedepth,const DitherMethod dither_method, const MagickBooleanType measure_error) argument
7990 MagickQuantizeImages(MagickWand *wand, const size_t number_colors,const ColorspaceType colorspace, const size_t treedepth,const DitherMethod dither_method, const MagickBooleanType measure_error) argument
[all...]
/external/ImageMagick/Magick++/lib/
H A DOptions.cpp449 _quantizeInfo->number_colors=colors_;
454 return(_quantizeInfo->number_colors);

Completed in 7745 milliseconds

12