Searched refs:quality (Results 1 - 5 of 5) sorted by relevance
| /PHP_TRUNK/ext/gd/libgd/ |
| H A D | gd_webp.c | 133 * Maps normalized QP (quality) to VP8 QP 135 int mapQualityToVP8QP(int quality) { argument 142 scale * (MAX_QUALITY - quality) / (MAX_QUALITY - MIN_QUALITY) + MIN_VP8QP; 143 if (quality < MIN_QUALITY || quality > MAX_QUALITY) { 144 php_gd_error("Wrong quality value %d.", quality);
|
| H A D | gd_jpeg.c | 132 * Write IM to OUTFILE as a JFIF-formatted JPEG image, using quality 134 * represent higher quality but also larger image size. If QUALITY is 135 * negative, the IJG JPEG library's default quality is used (which 140 void gdImageJpeg (gdImagePtr im, FILE * outFile, int quality) argument 143 gdImageJpegCtx (im, out, quality); 147 void *gdImageJpegPtr (gdImagePtr im, int *size, int quality) argument 151 gdImageJpegCtx (im, out, quality); 160 void gdImageJpegCtx (gdImagePtr im, gdIOCtx * outfile, int quality) argument 194 if (quality >= 0) { 195 jpeg_set_quality (&cinfo, quality, TRU [all...] |
| H A D | gd.h | 548 using a high-quality two-pass quantization routine 561 it can be negative) and the quality loss is ugly. */ 607 /* 100 is highest quality (there is always a little loss with JPEG). 609 void gdImageJpeg(gdImagePtr im, FILE *out, int quality); 610 void gdImageJpegCtx(gdImagePtr im, gdIOCtx *out, int quality); 615 void *gdImageJpegPtr(gdImagePtr im, int *size, int quality);
|
| /PHP_TRUNK/ext/gd/ |
| H A D | gd_ctx.c | 82 long quality, basefilter; local 91 /* The third (quality) parameter for Wbmp stands for the threshold when called from image2wbmp(). 92 * The third (quality) parameter for Wbmp and Xbm stands for the foreground color index when called 96 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rp!|ll", &imgind, &file, &file_len, &quality, &basefilter) == FAILURE) { 106 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|z/!ll", &imgind, &to_zval, &quality, &basefilter) == FAILURE) { 114 q = quality; /* or colorindex for foreground of BW images (defaults to black) */
|
| H A D | gd.c | 388 ZEND_ARG_INFO(0, quality) 2572 long quality = 0, type = 0; local 2579 /* The quality parameter for Wbmp stands for the threshold when called from image2wbmp() */ 2580 /* When called from imagewbmp() the quality parameter stands for the foreground color. Default: black. */ 2581 /* The quality parameter for gd2 stands for chunk size */ 2583 if (zend_parse_parameters(argc TSRMLS_CC, "r|pll", &imgind, &file, &file_len, &quality, &type) == FAILURE) { 2592 q = quality; 2746 /* {{{ proto bool imagewebp(resource im [, string filename[, quality]] ) 2757 /* {{{ proto bool imagejpeg(resource im [, string filename [, int quality]])
|
Completed in 53 milliseconds