php - How to resize a blob image that was retrieved from mysql -


hello , day everyone! trying figure out how resize image retrieved mysql database, far have , displays image uploaded in mysql database:

echo '<img src="data:image/jpeg;base64,'.base64_encode( $rowid['companyimage'] ).'"/>'; 

from code have, there way resize image retrieve or there way it? thanks! appreciated!

since want use php instead of html, recommend using either php-gd or imagick. both of these libraries documented, , provide resizing images (from file, or variable input)


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -