[PHP] GD Copying Images

2001-10-26 Thread Alberto
I have 2 images, and I want to copy/reescale a block from image A to image B, when I do it (imagecopyresized) I get a gray square on image B, I think that the problem is palette colors, how can I copy palette from image A to image B? Thnx -- PHP General Mailing List

Re: [PHP] GD Copying Images

2001-10-26 Thread Kodrik
On Friday 26 October 2001 05:03 am, you wrote: I have 2 images, and I want to copy/reescale a block from image A to image B, when I do it (imagecopyresized) I get a gray square on image B, I think that the problem is palette colors, how can I copy palette from image A to image B? Thnx

Re: [PHP] GD Copying Images

2001-10-26 Thread Alberto
Where can I get that code for PHP 4.0.6? I added to ./ext/gd/gd.c /* {{{ proto int imagecopyresizedbicubic(int dst_im, int src_im, int dst_x, int dst_y, int src_x, int src_y, int dst_w, int dst_h, int src_w, int src_h) Copy and resize part of an image */ PHP_FUNCTION(imagecopyresizedbicubic) {