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
$dimensions = $imageFactory->create($projectDir . '/' . $image->path)->getDimensions();