Re: dynamic image quality from blobs?
| From: | Maxim Maletsky | Date: | Tue, 13 May 2003 21:24:24 +0000 |
| Subject: | Re: dynamic image quality from blobs? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-27722@lists.php.net to get a copy of this message | ||
You should use GD2 for this. Check what you've got on your PHP's
installation.
Maxim Maletsky
maxim@php.net
On Tue, 13 May 2003 22:11:58 +0200
"Merlin" <news.groups@web.de> wrote:
> Hi there,
>
> I am trying to set a dynamic image quality. My images are stored as blobs in
> a mysql db. Till now the images are just echoed out to
> the browser. This workes. Now I would like to add dynamic quality, therefore
> I tryed to output them with imagejpeg.
> Unfortuanetelly this does not work at all, and I cant get behind the
> problem.
>
> Has anybody a good idea?
>
> Thanx,
>
> Merlin
>
> ############################################################################
> ####################
> # output
> header("Content-type: $file_type");
> echo $picture_blob;
> // this would not work:
> // imagejpeg($picture_blob,"",10);
> ############################################################################
> ####################
>
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
Maxim Maletsky
maxim@php.net