Giter VIP home page Giter VIP logo

print-proxy-prep's Introduction

print-proxy-prep

Crop bleed edges from proxy images and make PDFs for at-home printing.

image

Installation

You're gonna need Python, I'd say whatever the latest version is, should work. When installing, make sure to add Python to PATH. image

With Python installed, go ahead and download the zip and unzip it wherever you like. image

I made a couple batch scripts to help with installation if you're not savvy with Python, go ahead and run 1_SETUP.bat and it should make a folder called "images" and one called "venv". Then, it will use pip to install the dependancies from "requirements.txt" into that virtual environment.

Then, you can run main.py from the command line like "venv\scripts\python main.py", or I have "2_RUN.bat" that you can just click and it will pop up the GUI.

Running the Program

image

First, throw some images in the \images\ folder. Then, when you opem main.py or hit the "Run Cropper" button from the GUI, it will go through all the images and calculate and crop them.

You can either use the +/- buttons, left or right click the images themselves, or input whatever number you want (good for basic lands for example). I've included sizing for Letter (8.5" x 11"), A4 (8.27" x 11.69"), and Legal (8 1/2" x 14"), but other options would be easy to add if it's requested. Last, you can name your pdf. You don't need to add a ".pdf", I've got that covered for you.

When you're done getting your print order setup, hit "Render PDF" and it will make your PDF and open it up for you. Hopefully you can handle yourself from there.

SOME NOTES:

  • The program will automatically save if you close the window. It will not save if you close the console window or if it crashes! The data is stored in print.json.
  • image.cache if a file that is made that stores the data for the thumbnails.
  • Both of these should be deleted if they get out of sync with your images\crops folder, so they can be repopulated. When in doubt, close the program and open it again!

I'll be working on streamlining stuff, feel free to make suggestions.

print-proxy-prep's People

Contributors

malacath-92 avatar preshtildeath avatar sentixxx avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.