Skip to content

Commit

Permalink
fix(Frame): avoid using disabled imagegd2 function (#62)
Browse files Browse the repository at this point in the history
Refs #61
  • Loading branch information
char0n committed Aug 20, 2022
1 parent 2c02478 commit cf44177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Frame.php
Expand Up @@ -70,7 +70,7 @@ public function __construct($gdImage, $pts = 0.0)
protected function gdImageToBinaryData($gdImage)
{
ob_start();
imagegd2($gdImage);
imagejpeg($gdImage, null, 100);

return ob_get_clean();
}
Expand Down

0 comments on commit cf44177

Please sign in to comment.