I create a large image,for a sequence of letters in one long line, (it needs to be in a long line initially), using GD library in php. I want to splice the created image into many images of a stated width and put all the images into one image showing one under another. Is this possible?
Thanks
you should be able to do that by
1) creating the new empty image with
2) opening the original image (the oneliner) with
(obviously assuming it is a jpg)
3) cycling the original image “while it is not finished” and copying the pieces by using the function
at each cycle you should change the dst/src coords ,to match the new “window” you choose to copy
you can find more info about how to use GD, here:
http://php.net/manual/en/book.image.php