Re: dynamic image quality from blobs?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux