Lines Matching refs:pixel_wand

40 	if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) {  in PHP_METHOD()
44 PixelGetHSL(internp->pixel_wand, &hue, &saturation, &luminosity); in PHP_METHOD()
68 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) { in PHP_METHOD()
72 PixelSetHSL(internp->pixel_wand, hue, saturation, luminosity); in PHP_METHOD()
93 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) { in PHP_METHOD()
100 color_value = PixelGetBlackQuantum(internp->pixel_wand); in PHP_METHOD()
104 color_value = PixelGetBlueQuantum(internp->pixel_wand); in PHP_METHOD()
108 color_value = PixelGetCyanQuantum(internp->pixel_wand); in PHP_METHOD()
112 color_value = PixelGetGreenQuantum(internp->pixel_wand); in PHP_METHOD()
116 color_value = PixelGetRedQuantum(internp->pixel_wand); in PHP_METHOD()
120 color_value = PixelGetYellowQuantum(internp->pixel_wand); in PHP_METHOD()
124 color_value = PixelGetMagentaQuantum(internp->pixel_wand); in PHP_METHOD()
129 color_value = PixelGetOpacityQuantum(internp->pixel_wand); in PHP_METHOD()
134 color_value = PixelGetAlphaQuantum(internp->pixel_wand); in PHP_METHOD()
174 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) { in PHP_METHOD()
181 PixelSetBlackQuantum(internp->pixel_wand, color_value); in PHP_METHOD()
185 PixelSetBlueQuantum(internp->pixel_wand, color_value); in PHP_METHOD()
189 PixelSetCyanQuantum(internp->pixel_wand, color_value); in PHP_METHOD()
193 PixelSetGreenQuantum(internp->pixel_wand, color_value); in PHP_METHOD()
197 PixelSetRedQuantum(internp->pixel_wand, color_value); in PHP_METHOD()
201 PixelSetYellowQuantum(internp->pixel_wand, color_value); in PHP_METHOD()
205 PixelSetMagentaQuantum(internp->pixel_wand, color_value); in PHP_METHOD()
210 PixelSetOpacityQuantum(internp->pixel_wand, color_value); in PHP_METHOD()
215 PixelSetAlphaQuantum(internp->pixel_wand, color_value); in PHP_METHOD()
239 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) { in PHP_METHOD()
243 RETVAL_LONG(PixelGetIndex(internp->pixel_wand)); in PHP_METHOD()
268 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) {
272 PixelSetIndex(internp->pixel_wand, index);
296 if (internp->pixel_wand != NULL) {
297 DestroyPixelWand(internp->pixel_wand);
300 internp->pixel_wand = NewPixelWand();
302 if (!internp->pixel_wand) {
309 if (PixelSetColor(internp->pixel_wand, color_name) == MagickFalse) {
334 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) {
338 status = PixelSetColor(internp->pixel_wand, color_name);
341 …php_imagick_convert_imagickpixel_exception (internp->pixel_wand, "Unable to set ImagickPixel color…
361 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) {
365 ClearPixelWand(internp->pixel_wand);
389 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) {
397 …status = IsPixelWandSimilar(internp->pixel_wand, color_wand, (use_quantum ? (QuantumRange * fuzz) …
449 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) {
463 color_value = PixelGetBlack(internp->pixel_wand);
467 color_value = PixelGetBlue(internp->pixel_wand);
471 color_value = PixelGetCyan(internp->pixel_wand);
475 color_value = PixelGetGreen(internp->pixel_wand);
479 color_value = PixelGetRed(internp->pixel_wand);
483 color_value = PixelGetYellow(internp->pixel_wand);
487 color_value = PixelGetMagenta(internp->pixel_wand);
492 color_value = PixelGetOpacity(internp->pixel_wand);
497 color_value = PixelGetAlpha(internp->pixel_wand);
502 color_value = PixelGetFuzz(internp->pixel_wand);
531 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) {
545 PixelSetBlack(internp->pixel_wand, color_value);
549 PixelSetBlue(internp->pixel_wand, color_value);
553 PixelSetCyan(internp->pixel_wand, color_value);
557 PixelSetGreen(internp->pixel_wand, color_value);
561 PixelSetRed(internp->pixel_wand, color_value);
565 PixelSetYellow(internp->pixel_wand, color_value);
569 PixelSetMagenta(internp->pixel_wand, color_value);
574 PixelSetOpacity(internp->pixel_wand, color_value);
579 PixelSetAlpha(internp->pixel_wand, color_value);
584 PixelSetFuzz(internp->pixel_wand, color_value);
617 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) {
622 red = PixelGetRed(internp->pixel_wand);
623 green = PixelGetGreen(internp->pixel_wand);
624 blue = PixelGetBlue(internp->pixel_wand);
625 alpha = PixelGetAlpha(internp->pixel_wand);
687 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) {
692 red = PixelGetRedQuantum(internp->pixel_wand);
693 green = PixelGetGreenQuantum(internp->pixel_wand);
694 blue = PixelGetBlueQuantum(internp->pixel_wand) ;
695 alpha = PixelGetAlphaQuantum(internp->pixel_wand);
727 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) {
731 color_string = PixelGetColorAsString(internp->pixel_wand);
746 PixelWand *pixel_wand; local
756 pixel_wand = php_imagick_clone_pixelwand (internp->pixel_wand);
757 if (!pixel_wand) {
765 php_imagick_replace_pixelwand(intern_return, pixel_wand);
782 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) {
786 RETVAL_LONG(PixelGetColorCount(internp->pixel_wand));
804 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) {
808 PixelSetColorCount(internp->pixel_wand, color_count);
827 if (php_imagickpixel_ensure_not_null(internp->pixel_wand) == 0) {
831 if (php_imagickpixel_ensure_not_null(src_pixel->pixel_wand) == 0) {
835 PixelSetColorFromWand(internp->pixel_wand, src_pixel->pixel_wand);