Security News
Combatting Alert Fatigue by Prioritizing Malicious Intent
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
@drovp/icon-generator
Advanced tools
Generate .ico, .icns, or .png icons out of one or multiple png or svg files.
Generate .ico, .icns, or .png icons out of one or multiple png or svg files.
Supports dropping multiple files of different sizes. Processor will then generate the missing sizes from the closest bigger input file.
For example, if you drop in two png files 32x32 and 1024x1024 pixels big, they'll be used as sources like so:
Size | Dropped files | Size source |
---|---|---|
1024 | 1024.png | 1024.png |
512 | x | 1024.png |
256 | x | 1024.png |
128 | x | 1024.png |
64 | x | 1024.png |
32 | 32.png | 32.png |
16 | x | 32.png |
When dropping png files, the file should be of square dimensions, and at least 1024x1024 pixels big, or whatever is the max needed size in one of the generated icon files.
If you are dropping svg files, their intended size is determined by their file name. To specify svg file as being 32px big, its name needs to be in one of these formats:
32.svg
32x32.svg
foo-32.svg
foo-32x32.svg
Dropped SVG file without recognizable filename size is considered to be of infinite size.
If you're generating favicons for browsers, this cheat sheet might be helpful: https://github.com/audreyfeldroy/favicon-cheat-sheet
FAQs
Generate .ico, .icns, or .png icons out of one or multiple png or svg files.
The npm package @drovp/icon-generator receives a total of 0 weekly downloads. As such, @drovp/icon-generator popularity was classified as not popular.
We found that @drovp/icon-generator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.