I am creating image with php function imagesetpixel() there I could set starting x position and y position, but if I have it in code:
for ($i=1;$i<50;$i++)
{
for ($a=1;$a<50;$a++)
{
imagesetpixel($img, $i, $a, $color);
}
}
this create every field 1x1px but I want it maybe 5x5px. is it possible to make something like it?
see below url:-
http://phptutorial.info/?imagesetpixel
http://php.net/manual/en/function.imagesetpixel.php
example:-