-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
fix: generate favourite icon without imagick svg support #55132
New issue
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
base: master
Are you sure you want to change the base?
fix: generate favourite icon without imagick svg support #55132
Conversation
e08e5d4 to
23ab2ba
Compare
941959d to
aa1d4ef
Compare
This comment was marked as resolved.
This comment was marked as resolved.
|
@SebastianKrupinski does this address #36607? |
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
aa1d4ef to
08869d2
Compare
This comment was marked as resolved.
This comment was marked as resolved.
No, it still uses imagick, but it no longer requires imagick svg support, to generate icons, the icons where generated as png's anyway, it only requires imagick png support and a png logo. But it will generate themed svg icons also If we want to generate themed icons, we have to either limit the input formats to png, and we can use another library like php-gd, or stick with imagick as its the only one that supports svg. Unless we drop the whole themed icons idea then we can drop imagick |
It seems like svg favicons are supported by all major browsers nowadays. I was wondering if it would be possible to have svgs stacked on top of each other by using masks or something for which we dont need to use imagick? |
It's possible, but we would need to find a pure php library or someone would have to write one, then you also need to consider that the input image (logo) would have to be a svg also. |
Summary
Before
Custom favourite icon was only generate when imagick svg support was turned on
After
Custom favourite is generate even when imagick svg support is not present, as long a a supported image format is used
Testing
TODO
Checklist