Jump to content

Recommended Posts

imagefilter()

 

Filter Types:

    * IMG_FILTER_NEGATE: Reverses all colors of the image.

    * IMG_FILTER_GRAYSCALE: Converts the image into grayscale.

    * IMG_FILTER_BRIGHTNESS: Changes the brightness of the image. Use arg1 to set the level of brightness.

    * IMG_FILTER_CONTRAST: Changes the contrast of the image. Use arg1 to set the level of contrast.

    * IMG_FILTER_COLORIZE: Like IMG_FILTER_GRAYSCALE, except you can specify the color. Use arg1 , arg2 and arg3 in the form of red , blue , green and arg4 for the alpha channel. The range for each color is 0 to 255.

    * IMG_FILTER_EDGEDETECT: Uses edge detection to highlight the edges in the image.

    * IMG_FILTER_EMBOSS: Embosses the image.

    * IMG_FILTER_GAUSSIAN_BLUR: Blurs the image using the Gaussian method.

    * IMG_FILTER_SELECTIVE_BLUR: Blurs the image.

    * IMG_FILTER_MEAN_REMOVAL: Uses mean removal to achieve a "sketchy" effect.

    * IMG_FILTER_SMOOTH: Makes the image smoother. Use arg1 to set the level of smoothness.

    * IMG_FILTER_PIXELATE: Applies pixelation effect to the image, use arg1 to set the block size and arg2 to set the pixelation effect mode.

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.