Skip to content
Discussion options

You must be logged in to vote

The converter only generates a base64 small blurred image. This is the same method used by Spatie. They actually embed this tiny image inside an SVG (https://github.com/spatie/laravel-medialibrary/blob/45e43aebc8ee89589eaa6439cb38fff8e039f618/resources/views/placeholderSvg.blade.php), but it actually does not make it a real SVG. It’s just a wrapper.

You can create an svg just like they do if you want but it will not make it "scalable"

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AlejandroAkbal
Comment options

Answer selected by AlejandroAkbal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants