Skip to content

LukaOliveira/inkpro-coverage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InkPro Coverage - Printed Coverage Calc


English - InkPro Coverage

InkPro Coverage calculates the printed coverage area of a PDF document. It takes a PDF and accurately displays the percentage of CMYK each page will use.

How to install?

First of all, you must download and install the latest version of GhostScript. It can be found through this link: Download GhostScript

Options to run:

1º Option: Access the releases page and download the version best suited to your operating system.

2º Option: Run from Python (The ideal is to create a venv)

git clone https://github.com/LukaOliveira/inkpro-coverage.git
cd inkpro-coverage
pip install -r requirements.txt
python main.py

Testing accuracy:

It's important to note that a 300dpi setting was used for the tests. The software supports a range from 72dpi to 1200dpi; the higher the DPI, the greater the precision.

Inside the "test" folder, you'll find PDF files with defined CMYK values. They should each correspond as follows:
pure_cyan.pdf
C - 100% | M - 0% | Y - 0% | K - 0%
pure_magenta.pdf
C - 0% | M - 100% | Y - 0% | K - 0%
pure_yellow.pdf
C - 0% | M - 0% | Y - 100% | K - 0%
pure_black.pdf
C - 0% | M - 0% | Y - 0% | K - 100%


Português (BR)- InkPro Coverage

InkPro Coverage calcula a área de cobertura impressa de um documento PDF. Ele recebe um PDF e exibe com precisão a porcentagem de CMYK que cada página utilizará.

Como instalar?

Primeiro, você precisa baixar e instalar a versão mais recente do GhostScript. Ela pode ser encontrada neste link: Download GhostScript

Opções de execução:

1ª Opção: Acesse a página de releases e baixe a versão mais adequada ao seu sistema operacional.

2ª Opção: Execute a partir do Python (O ideal é criar um venv)

git clone https://github.com/LukaOliveira/inkpro-coverage.git
cd inkpro-coverage
pip install -r requirements.txt
python main.py

Testando a precisão:

É importante ressaltar de que os testes foram realizados em 300dpi. O software suporta entre 72dpi e 1200dpi; quanto maior o DPI, maior a presição.

Dentro da pasta "test", você irá encontrar alguns arquivos PDF com valores CMYK, eles devem corresponder aos seguintes resultados:
pure_cyan.pdf
C - 100% | M - 0% | Y - 0% | K - 0%
pure_magenta.pdf
C - 0% | M - 100% | Y - 0% | K - 0%
pure_yellow.pdf
C - 0% | M - 0% | Y - 100% | K - 0%
pure_black.pdf
C - 0% | M - 0% | Y - 0% | K - 100%

About

InkPro Coverage calculates the printed coverage area of a PDF document. It takes a PDF and accurately displays the percentage of CMYK each page will use. / InkPro Coverage calcula a área de cobertura impressa de um documento PDF. Ele recebe um PDF e exibe com precisão a porcentagem de CMYK que cada página utilizará.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages