Return to Snippet

Revision: 23238
at February 1, 2010 15:40 by mracoker


Initial Code
$img = imagecreatefromstring(base64_decode($string));
if($img != false)
{
   imagejpeg($img, '/path/to/new/image.jpg');
}

Initial URL


Initial Description


Initial Title
PHP base64 to Image

Initial Tags
php, image

Initial Language
PHP