Skip to content

simple script that analyze a pdf file and outputs 2 pdf files containing either color either white-black images (layout ready for double-sided printing)

Notifications You must be signed in to change notification settings

gekigek99/color-wb-pdf-splitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

color-wb-pdf-splitter

Simple script that splits a pdf into 2 files: one containing color images and the other white-black images. (layout ready for double-sided printing)

DEFINITIONS:

grey_approx_coeff
  # level of approximation to determine if a pixel is gray or not.
  # (0 -> rgb(5,5,6) is not gray, 10 -> rgb(5,5,6) is gray)
precision
  # how many pixels are analyzed
  # (1 -> all, 10 -> 1 every 10 pixels)

CREDITS:

Author: gekigek99

About

simple script that analyze a pdf file and outputs 2 pdf files containing either color either white-black images (layout ready for double-sided printing)

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages