Lines Matching refs:size_x
16 function auto($psdata, $src_img, &$size_x, &$size_y, &$tcolor, &$image, &$mask) { argument
20 $size_x,
29 $size_x,
38 function solid($psdata, $src_img, &$size_x, &$size_y, &$image, &$mask) { argument
41 $size_x = imagesx($src_img);
43 $dest_img = imagecreatetruecolor($size_x, $size_y);
45 imagecopymerge($dest_img, $src_img, 0, 0, 0, 0, $size_x, $size_y, 100);
51 for ($x = 0; $x < $size_x; $x++) {
61 if ($ctr > MAX_IMAGE_ROW_LEN || ($x + 1 == $size_x)) {
62 $row_next = ($size_x - $x - 1 + $size_x * ($size_y - $y - 1) == 0) ? 1 : $row+1;
85 function transparent($psdata, $src_img, &$size_x, &$size_y, &$image, &$mask) { argument
88 $size_x = imagesx($src_img);
91 $dest_img = imagecreatetruecolor($size_x, $size_y);
93 imagecopymerge($dest_img, $src_img, 0, 0, 0, 0, $size_x, $size_y, 100);
103 for ($x = 0; $x < $size_x; $x++) {
126 if ($ctr > MAX_TRANSPARENT_IMAGE_ROW_LEN || ($x + 1 == $size_x)) {
135 $row_next = ($size_x - $x - 1 + $size_x * ($size_y - $y - 1) == 0) ? 1 : $row+1;
170 function alpha($psdata, $src_img, &$size_x, &$size_y, &$image, &$mask) { argument
173 $size_x = imagesx($src_img);
181 for ($x = 0; $x < $size_x; $x++) {
200 if ($ctr > MAX_IMAGE_ROW_LEN || ($x + 1 == $size_x)) {
201 $row_next = ($size_x - $x - 1 + $size_x * ($size_y - $y - 1) == 0) ? 1 : $row+1;