Some tools for manipulating image files
Project description
A bit of Python code to resize and combine images in svg or png format.
See also these blog posts: * resizing and combining multiple png images * resizing and combining multiple svg images
Make svg images the same size
I wrote a script called “same_size_svg” to make svg images the same side for a given dimension.
INSTALLATION:
pip install imgtools
USAGE
same_size_svg [-h] -i files [files …] [–dimension {width,height}] [–direction {largest,smallest}]
Make svg images the same size in one dimension.
optional arguments: -h, –help show this help message and exit
General options: -i/–images files images to change size of. –dimension Which dimension to use: width (default) or height
Contributions welcome!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file imgtools-0.2.0.tar.gz
.
File metadata
- Download URL: imgtools-0.2.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba40409f0fbfb11b7384b19dc95818aadebe37055769315612ec65a2150058e3 |
|
MD5 | 8a2dce45994df0f67dcd803c01eb5388 |
|
BLAKE2b-256 | e61d146a2c00a1ec0ed9a69131748da2cf3239f167e2d58a3414d56f3300acf2 |