@@ -11,7 +11,7 @@ |
||
11 | 11 | * The original image resource will not be changed, a new image resource will be created. |
12 | 12 | * |
13 | 13 | * @param ImageResource $image The source image resource |
14 | - * @return ImageResource The black and white image resource |
|
14 | + * @return resource The black and white image resource |
|
15 | 15 | */ |
16 | 16 | public function process($image) |
17 | 17 | { |
@@ -11,7 +11,7 @@ |
||
11 | 11 | * The original image resource will not be changed, a new image resource will be created. |
12 | 12 | * |
13 | 13 | * @param ImageResource $image The source image resource |
14 | - * @return ImageResource The black and white image resource |
|
14 | + * @return resource The black and white image resource |
|
15 | 15 | */ |
16 | 16 | public function process($image) |
17 | 17 | { |
@@ -80,7 +80,6 @@ |
||
80 | 80 | /** |
81 | 81 | * Load an image from disk, into memory, using GD. |
82 | 82 | * |
83 | - * @param string $filename The filename to load from |
|
84 | 83 | * @param Filter $filter filter process |
85 | 84 | * @throws Exception if the image format is not supported, |
86 | 85 | * or the file cannot be opened. |
@@ -2,9 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Thermal\Graphics; |
4 | 4 | |
5 | -use Thermal\Printer; |
|
6 | -use Thermal\Buffer\Encoding; |
|
7 | -use Thermal\Connection\Connection; |
|
8 | 5 | use Thermal\Graphics\Filter\FloydSteinberg; |
9 | 6 | |
10 | 7 | class Image |