dynamic image quality from blobs?

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

 



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


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

  Powered by Linux