I'm doing a project with steganography, and I've decided to do it in PHP - I just need some help getting started. The first thing (I think) I need to do, is having a way of displaying each pixel's RGB values, something like this:
https://i.stack.imgur.com/Fj5f0.jpg
How would I go about doing that?
This is what I have so far, probably not useful in any way :)
<?php
$im = imagecreatefrompng("php.png");
$rgb = imagecolorat($im, 10, 15);
$colors = imagecolorsforindex($im, $rgb);
echo "Pixel values: <br>";
var_dump($colors);
?>