roadhead
-
Posts
1 -
Joined
-
Last visited
Never
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Image resize without using GD
in PHP Coding Help
Posted
Do you have the [b]ImageMagick[/b] library installed on the server. In case you do, then the [b]convert command[/b] can be called from within php using [b]passthru function[/b] like this:
[code]passthru("/usr/bin/convert -resize 30x30 image.jpg -");[/code]
this will output the thumbnail of size 30x30 to the browser. image.jpg should be an image file on the disk.
[/quote]
What if my image is stored in a MySQL database base64 encoded?