Skip to main content

Generate BlurHash images from an existing image.

Project description

blurhashify

PyPI Hatch project

Generate BlurHash images from an existing image.

Installation

Via pip:

pip install blurhashify

Via pipx:

pipx install blurhashify

Usage

blurhashify

and

Usage: blurhashify [OPTIONS] FILE_PATH

  Generate BlurHash images from an existing image.

Options:
  -w, --width INTEGER   The width of the output images (in px).  [default: input image
                        width]
  -h, --height INTEGER  The height of the output images (in px).  [default: input
                        image height]
  -s, --scale INTEGER   The number to multiply the width and height of the output
                        images by.  [default: 1]
  -p, --punch INTEGER   The punch of output images. This design option adjusts the
                        contrast in output images. Smaller values make the effect more
                        subtle, while larger values make it stronger.  [default: 1]
  -v, --verbose         Enable verbose logging.
  --version             Show the version and exit.
  --help                Show this message and exit.

References

Development

VS Code profile: Python

hatch config set dirs.env.virtual .hatch
hatch config show --all
hatch env create dev
hatch env find
hatch env show
hatch version
hatch -e dev run pip show blurhashify
hatch -e dev run blurhashify --help
hatch -e dev run blurhashify 06_IMG_1974.jpg

or

hatch -e dev run blurhashify 06_IMG_1974.jpg --verbose
hatch run dev:check

Copy the output of the help command (hatch -e dev run blurhashify --help) and paste it in the Usage section.

Deployment

hatch project metadata
hatch version
git tag
git ls-remote --tags origin
hatch version micro

or

hatch version minor

Commit the blurhashify/__init__.py file with the updated version.

git tag "v$(hatch version)"
git tag
git push origin --tags

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blurhashify-0.1.1.tar.gz (8.6 kB view hashes)

Uploaded Source

Built Distribution

blurhashify-0.1.1-py3-none-any.whl (5.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page