Coder Social home page Coder Social logo

fitz-qt's Introduction

Demo of using fitz (pdf converter)

This is a demo of using the fitz pdf converter library with therecipe/qt library.

Currently works on Mac, but cannot get it to work on Windows. Fitz causes a segmentation fault

The application offers an interface to be able to load all the pages of a pdf as PNG files and paint over the top of them, then resave them out

Instructions

  • Compile inside the qt directory with qtdeploy test desktop

  • Once it compiles and runs you will see a window open with a toolbar across the top

  • To use the app

    1. Button most left of toolbar: Set Working Directory (Choose a directory that has a PDF in (helpful if nothing else in there at this stage))
    2. Button that looks like a PDF: Choose a PDF from the ones it found in that directory (this converts the pages to images so can take a moment)
    3. On the right of the tool bar is a button that that allows you to choose a page to edit (the PNG) *. The image will load in the middle
    4. Click on the paintbrush to enable painting. Now click once, someone on the image and move the mouse around. Click again to stop painting
    5. Click the floppy disk. It will automatically save the files inside of the folder with the same name as the pdf

fitz-qt's People

Stargazers

 avatar

Watchers

 avatar  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.