New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

icon-resize

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

icon-resize

CLI to create lossless icons in multiple sizes

  • 0.2.3
  • PyPI
  • Socket score

Maintainers
1

Icon Resize

ci-badge pypi-badge black-badge mit

screenshot

CLI to create lossless icons in multiple sizes

Features

  • resize icon file(png/jpg) to multiple sizes
  • lossless compression for png files
  • maintain aspect ratio and transparency

Prerequisite

  • macOS or Linux (Windows not tested)
  • python3.10+
  • Image Magick brew install imagemagick

Installation

pip install icon-resize

Usage

# default resize to 256, 128, 64
icon-resize mic-512

# specify resize to 128, 64
icon-resize mic-512 --sizes "128,64"

# save to 'mic' folder with default sizes
icon-resize mic-512 --out-folder mic/

# enable autocomplete in current session
eval "$(_ICON_RESIZE_COMPLETE=zsh_source icon_resize)"

Technical Details

  • use Typer for CLI and help docs generation
  • use Image Magick for both resize and compress images

Questions?

Open a github issue or ping me on Twitter twitter-icon

Keywords

FAQs


Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc