Created
August 19, 2021 14:12
-
-
Save akroii/44569067f04b97ef94c7b3d5ed0c47f1 to your computer and use it in GitHub Desktop.
Get image dimensions from svg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$image = FilesModel::findByUuid($singleSRC); und $imagesize = getimagesize($image->path); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://stackoverflow.com/questions/6532261/how-do-you-get-the-width-and-height-of-an-svg-picture-in-php/48994280#48994280