I want to make custom head with skin so I need to use imagecolorat and imagecolorset functions But I don't know if it will work. If it doesn't work, I'm writing it so as not to waste it. Have you tried it before? does it work?
Yes they do work. You could have easily tested this since you have the php binaries already. Create some script, that uses these functions and execute them with those binaries.