Socket
Socket
Sign inDemoInstall

blopic

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blopic

Tool to convert and resize image for blog post.


Maintainers
1

blopic (blog-post-image-converter)

Description

blopic (for blog-post image converter ) is a CLI tool developed to convert and resize image to good format & size for blog post.

Dependencies

  • click to easily create a CLI

Installation

With pip

pip install blog-post-image-converter

With Docker

docker pull romaiiiinnn/blopic

Usage

Usage: blopic [OPTIONS] IMAGE_PATH

  Resizes an image based on a target width passed as a parameter, then
  converts it to the WebP format.

Options:
  --version                   Show the version and exit.
  -w, --width INTEGER RANGE   Target width of the image  [default: 1200; x>0]
  -o, --output-dir DIRECTORY  Output directory  [default: .]
  -d, --delete                Delete source image after conversion.
  --help                      Show this message and exit.

Examples

Following command will create image named image.webp with a width of 1200px in current directory.

With installed package
blopic image.jpeg
With Docker
docker run --rm -v ${PWD}:/data -w /data romaiiiinnn/blopic image.jpeg

Support

Got questions?

You could open an issue here.

Contributing

This is an active open-source project. I am always open to people who want to use the code or contribute to it.

Thank you for being involved! :heart_eyes:

Authors & contributors

The original setup of this repository is by Romain RICHARD.

License

Every details about licence are in a separate document.

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc