I have an image in a string $data. I need to resize that image, so I convert it to a image with imagecreatefromstring. How to I get that resized image back to $data variable? All I’ve found is imagepng in its ilk.
I have an image in a string $data . I need to resize that
Share
Use
imagepngwith output buffering: