phantommagick
phantommagick copied to clipboard
Image can't convert propely
I written HTML+CSS code, image convert working but issue in height and width.
I written code like this
$options = [ 'width' => '120', 'height' => '50', ]; $conv = new Converter(); $conv->addPage($viewContent) ->toPng($options) ->save($pathToImage);