Хранилища Subversion ant

Сравнить редакции

Не учитывать пробелы Редакция 94 → Редакция 95

/trunk/process.php
51,7 → 51,7
$output = ImageCreateTrueColor($newwidth, $newheight);
$source = ImageCreateFromPNG($folder);
 
ImageCopyResized($output, $source, 0, 0, 0, 0, $newwidth, $newheight, $width, $height);
ImageCopyResampled($output, $source, 0, 0, 0, 0, $newwidth, $newheight, $width, $height);
ImagePNG($output, $folderEM);
 
$percent = 15/$height;
100,7 → 100,7
$black = ImageColorAllocate($output, 0, 0, 0);
$source = ImageCreateFromPNG($folder);
 
ImageCopyResized($output, $source, 0, 0, 0, 0, $newwidth, $newheight, $width, $height);
ImageCopyResampled($output, $source, 0, 0, 0, 0, $newwidth, $newheight, $width, $height);
ImageColorTransparent($output, $black);
ImagePNG($output, $folderEM);