phantommagick icon indicating copy to clipboard operation
phantommagick copied to clipboard

Image can't convert propely

Open Alpeshwappnet opened this issue 3 years ago • 0 comments

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);

Alpeshwappnet avatar Feb 04 '22 11:02 Alpeshwappnet