czy php i gd2 ma mozliwośc połączenia (zescalenia) dwóch zdjęć. Chodzi mi o to by były one obok siebie foto1 i do tego doczepione foto2

// Create image instances $src1 = imagecreatefromgif('14.gif'); $src2 = imagecreatefromgif('14.gif'); $dest = imagecreatetruecolor(94, 37); // Copy imagecopy($dest, $src1, 0, 0, 0, 0, 47, 37); imagecopy($dest, $src2, 48, 37, 48, 37, 47, 37); // Output and free from memory imagegif($dest); imagedestroy($dest); imagedestroy($src);
// Create image instances $src1 = imagecreatefromgif('14.gif'); $src2 = imagecreatefromgif('14.gif'); $dest = imagecreatetruecolor(94, 37); // Copy imagecopy($dest, $src1, 0, 0, 0, 0, 47, 37); //imagecopy($dest, $src2, 48, 37, 48, 37, 47, 37); twoj kod imagecopy($dest, $src2, 48, 0, 48, 0, 47, 37); // poprawione, przeczytaj jeszcze raz (DOKLADNIE!!!) liste argumentow, ktore ta funkcja przyjmuje // Output and free from memory imagegif($dest); imagedestroy($dest); imagedestroy($src);
//imagecopy($dest, $src2, 48, 37, 48, 37, 47, 37); twoj kod //imagecopy($dest, $src2, 48, 0, 48, 0, 47, 37); // poprawione, przeczytaj jeszcze raz (DOKLADNIE!!!) liste argumentow, ktore ta funkcja przyjmuje imagecopy($dest, $src2, 48, 0, 0, 0, 47, 37); // Up, no właśnie..