Lines Matching refs:quality
1873 zend_long quality = 0, type = 0;
1880 /* The quality parameter for gd2 stands for chunk size */
1889 if (zend_parse_parameters(argc, "O|p!ll", &imgind, gd_image_ce, &file, &file_len, &quality, &type) == FAILURE) {
1899 q = quality;
4233 zend_long quality = -1, basefilter = -1, speed = -1;
4243 if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|z!ll", &imgind, gd_image_ce, &to_zval, &quality, &basefilter) == FAILURE) {
4247 if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|z!ll", &imgind, gd_image_ce, &to_zval, &quality, &speed) == FAILURE) {
4251 if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|z!l", &imgind, gd_image_ce, &to_zval, &quality) == FAILURE) {
4270 gdImageJpegCtx(im, ctx, (int) quality);
4275 if (quality == -1) {
4276 quality = 80;
4278 gdImageWebpCtx(im, ctx, (int) quality);
4286 gdImageAvifCtx(im, ctx, (int) quality, (int) speed);
4292 gdImagePngCtxEx(im, ctx, (int) quality, (int) basefilter);
4294 gdImagePngCtxEx(im, ctx, (int) quality);