Compress picture retrieved from database
Posted: Thu Oct 20, 2005 5:37 pm
Hy,
i was wondering if there is a way to compress a picture retrieved from a blob field in a database and show it (compressed) on a page.
I managed so far to display it as the original picture but I want to compress it.
One solution I found was using the "imagecopyresampled" function but that requires a resource from a file on the hdd.
Any ideas?
Best regards!
i was wondering if there is a way to compress a picture retrieved from a blob field in a database and show it (compressed) on a page.
I managed so far to display it as the original picture but I want to compress it.
One solution I found was using the "imagecopyresampled" function but that requires a resource from a file on the hdd.
Any ideas?
Best regards!