Advertisement
Guest User

Untitled

a guest
Oct 25th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. $x = 1;
  2. $y = 1;
  3. $pixel = $image->getImagePixelColor($x, $y);
  4. $colors = $pixel->getColor(); // rgba
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement