Skip to main content

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)

Source distribution for imgtools 0.2.0
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

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page