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!
Metadata
Release files for imgtools 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| imgtools-0.2.0.tar.gz | 4.5 kB | Details |
Release files / imgtools-0.2.0.tar.gz
| Download URL | imgtools-0.2.0.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba40409f0fbfb11b7384b19dc95818aadebe37055769315612ec65a2150058e3
|
|
BLAKE2b-256 checksum How to use checksums |
e61d146a2c00a1ec0ed9a69131748da2cf3239f167e2d58a3414d56f3300acf2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |