A package to process PDFs for testing colorblind accessibility.
Project description
colorblind_pdf
colorblind_pdf
is a tool designed to test the accessibility of PDF documents for individuals with color vision deficiencies. It processes PDFs to simulate how the contained images would appear to someone with various types of color vision deficiencies, such as deuteranopia, protanopia, and tritanopia.
Installation
To install colorblind_pdf
, use pipx for an isolated installation:
pipx install colorblind_pdf
Usage
To use colorblind_pdf
, provide the path to the PDF you want to process, the output directory, and specify the type of color deficiency simulation. For example:
colorblind_pdf my_document.pdf -o output_directory -d deuteranopia -d protanopia
This command will process my_document.pdf
for deuteranopia and protanopia, and saving the resulting PDFs in output_directory
.
Default values
-o: current directory ('.')
-d: all deficiencies ('all')
Contributing
Contributions are welcome! Feel free to open an issue or submit a pull request on our GitHub repository.
License
Distributed under the MIT License. See LICENSE
for more information.
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
Built Distribution
Hashes for colorblind_pdf-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 412bb5eb48100903ea8de51bdd739c97ea839b65fc83a3e108aeed217e6ae0eb |
|
MD5 | fc57d4136d8f59731ad202c920afe3f0 |
|
BLAKE2b-256 | 79c767037c0d0ef8e431bff29ecb1e54a060b7b1fab2339b8809f3fe109881fd |