Skip to main content

# pngpadder

A tool for adding extra data to PNG files to pad them out for tests.

### Installation

pip install pngpadder

### Examples:

import pngpadder

# Pad file size to 100,000 bytes pngpadder.pad_to(‘/path/to/file.png’, ‘/path/to/output/file.png’, 100000)

# Pad file size by 20 bytes pngpadder.pad_by(‘/path/to/file.png’, ‘/path/to/output/file.png’, 20)

Alternatively, from the command line:

# Pad file to 100,000 bytes pngpadder –to 100000 -i /path/to/file.png -o /path/to/output/file.png

# Pad file size by 20 bytes pngpadder –to 100000 -i /path/to/file.png -o /path/to/output/file.png

Release files for pngpadder 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pngpadder 0.3
File Size Uploaded
pngpadder-0.3.tar.gz 3.1 kB Details

Release files / pngpadder-0.3.tar.gz

Download URL pngpadder-0.3.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c5d56fb22e0fd05cff8382d93a2c5f992dd0f46cc56d9812f91e3f54f91da25c
BLAKE2b-256 checksum
How to use checksums
38015efaf6fb8ead7ed3339437d5abba2c53ed4836daa6461b0a81e4cfb266fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3 This release

1 release file

0.2

1 release file

0.1

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