Hi,
I use GD library to generate images from photographs, approx this code :
$image_dst =
imagecreatetruecolor($this->image_dst_x, $this->image_dst_y);
imagecopyresized($image_dst, $image_src, 0, 0, 0, 0,
$this->image_dst_x, $this->image_dst_y, $this->image_src_x,
$this->image_src_y);
$result = @imagejpeg ($image_dst,
$this->file_dst_pathname,100);
but...
- generated image size is larger than the original photo's one
- generated image quality is rather bad
So I think I'm doing something wrong, but don't know what...
Thanks for any help !
Thanks also for telling me if there is a place (newsgroup) to specifically
discuss about GD library, I didn't find any on Boutell's site.