Create a memory version of a mirror image
Posted: Sun Nov 22, 2009 7:27 pm
Couln't find this one covered (or can't see the forest for the trees?).
I have a php script that builds a png image that get sent out to a webpage but is not stored otherwise. It is reasonable complicated to draw, but before I add the needed text to it, I have to be able to create a horizontal mirror image. Doing it from scratch requires a lot of adjustments to the calculations used.
Anyone know of a function that can take an image resource and mirror it?
I have a php script that builds a png image that get sent out to a webpage but is not stored otherwise. It is reasonable complicated to draw, but before I add the needed text to it, I have to be able to create a horizontal mirror image. Doing it from scratch requires a lot of adjustments to the calculations used.
Anyone know of a function that can take an image resource and mirror it?