We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working.
The text was updated successfully, but these errors were encountered:
I realized I have to do
$svg_resource = $svg_resource->toRasterImage(2000, 2000); But it still did not created png file correct.
Sorry, something went wrong.
@alexblueacorn This doesn't seem like a php-svg issue. imagepng returns a boolean See: https://www.php.net/manual/en/function.imagepng.php
boolean
You can supply a second parameter that may help.
That is correct. By default imagepng outputs to the browser. If you want it to create a file, supply a file path.
imagepng
No branches or pull requests
Not working.
The text was updated successfully, but these errors were encountered: