zrodlo save16x16.php
<?php $x = $_GET['x']; $y = $_GET['y']; $image = $_GET['image']; $id = $_GET['id']; $url = '16x16.php?x='.$x.'&y='.$y.'&image='.$image; $img = '/mini/'.$x.''.$y.''.$id.'.jpeg'; ?>
zrodlo 16x16.php
<?php $open = $_GET['image']; $xwww = $_GET['x']; $x = $xwww * 16; $ywww = $_GET['y']; $y = $ywww * 16; // Create image instances $src = imagecreatefromjpeg('img.php?src=upload/img/'.$open.'&w=112&h=64&zc=2'); $dest = imagecreatetruecolor(16, 16); // Copy imagecopy($dest, $src, 0, 0, $x, $y, 16, 16); // Output and free from memory imagejpeg($dest); imagedestroy($dest); imagedestroy($src); ?>
nie zapisuje się obrazek po wywołaniu save16x16.php
gdy wywołam plik 16x16.php?x=0&y=0&id=0&image=668731691.jpeg obrazek sie wyświetla
dzięki za pomoc z góry