@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | /** |
97 | 97 | * Extract each icon header |
98 | 98 | **/ |
99 | - for ($i = 0; $i < $this->ico['Count']; $i ++) { |
|
99 | + for ($i = 0; $i < $this->ico['Count']; $i++) { |
|
100 | 100 | $icodata = unpack("CWidth/CHeight/CColorCount/CReserved/SPlanes/SBitCount/LSizeInBytes/LFileOffset", $data); |
101 | 101 | $icodata['FileOffset'] -= ($this->ico['Count'] * 16) + 6; |
102 | 102 | if ($icodata['ColorCount'] == 0) $icodata['ColorCount'] = 256; |
@@ -242,7 +242,7 @@ discard block |
||
242 | 242 | * paint background |
243 | 243 | **/ |
244 | 244 | $bgcolor = $this->AllocateColor($im, $this->bgcolor[0], $this->bgcolor[1], $this->bgcolor[2]); |
245 | - imagefilledrectangle($im, 0 , 0, $this->formats[$index]['Width'], $this->formats[$index]['Height'], $bgcolor); |
|
245 | + imagefilledrectangle($im, 0, 0, $this->formats[$index]['Width'], $this->formats[$index]['Height'], $bgcolor); |
|
246 | 246 | |
247 | 247 | /** |
248 | 248 | * set background color transparent |