MyBB Requests

[Plugin] Userbar Hue Changer

Submitted by Tropical, , Thread ID: 3953

Thread Closed

RE: [Plugin] Userbar Hue Changer

AndresXZ09
Closed Account
Level:
0
Reputation:
30
Posts:
1.22K
Likes:
139
Credits:
1.51K
19-05-2015, 12:50 PM
#21
Code:
<?php
function modulateImage($imagePath, $hue, $brightness, $saturation) {
    $imagick = new \Imagick(realpath($imagePath));
    $imagick->modulateImage($saturation, $hue);
    header("Content-Type: image/jpg");
    echo $imagick->getImageBlob();
}
?>

Pretty much that's an example of the modulateImage

Users browsing this thread: 1 Guest(s)