-
-
Notifications
You must be signed in to change notification settings - Fork 276
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
Feature request: Copy as png #67
Comments
Use this instead, it actually works lol: |
Added in #69 |
@antfu Could you take a look again? I think many people in a business setting who want to use icons in keynotes etc cannot use svg. |
@bennetfabian I have added this in my fork of icones |
First of all, thanks for your work! Please let me know about your thoughts on how to possible implement the wish some may have to be able to specify the exact size the exported png should have. The average users of PCs have no clue about what vector graphics are and how to use a SVG to PNG converter. In many cases 256px may be big and good enough but I imagine there might be cases where you
I personally think this should be thought and discussed about. Of course this is a mattter which @antfu as the project's might want to make a point and give his opinion which I'm looking forward to. |
Specifying a size in a prompt box might be fine, e.g. something along the lines of |
@bennetfabian Antfu just merged my PR - Currently it just copies at 512x512 pixels, which should be large enough for most applications of a PNG icon. I felt like having a prompt is kind of janky and limits the usability by adding an extra step. |
This would be tremendously useful in powerpoint presentations, google docs, gmail, etc, here's some JS code which converts PNG to SVG (I can work on a PR in a bit):
The text was updated successfully, but these errors were encountered: