@@ -158,8 +158,8 @@ |
||
158 | 158 | switch ($imagetype) { |
159 | 159 | case IMAGETYPE_GIF: |
160 | 160 | //透過GIF対策 |
161 | - $alpha = imagecolortransparent($image); // 元画像から透過色を取得する |
|
162 | - imagefill($outImage, 0, 0, $alpha); // その色でキャンバスを塗りつぶす |
|
161 | + $alpha = imagecolortransparent($image); // 元画像から透過色を取得する |
|
162 | + imagefill($outImage, 0, 0, $alpha); // その色でキャンバスを塗りつぶす |
|
163 | 163 | imagecolortransparent($outImage, $alpha); // 塗りつぶした色を透過色として指定する |
164 | 164 | //!透過GIF対策 |
165 | 165 | break; |