Skip to content

Commit

Permalink
Fixed path to sample charset
Browse files Browse the repository at this point in the history
  • Loading branch information
aargoth committed Mar 12, 2018
1 parent 77e07a7 commit db22b66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public function show($charsList, $resizeFactor = 1, $useHtml = true, $useColor =
}
$this->image->resize(($this->image->getWidth() - ($this->image->getWidth() % 8)) / $resizeFactor, ($this->image->getHeight() - ($this->image->getHeight() % 8)) / $resizeFactor);
$colorImage = $this->image->getCopy();
$charsImage = new Image('ascii_art.png');
$charsImage = new Image(__DIR__ . '/ascii_art.png');
$width = $this->image->getWidth();
$height = $this->image->getHeight();

Expand Down

0 comments on commit db22b66

Please sign in to comment.