Giter Site home page Giter Site logo

img2pdf's Introduction

Img2Pdf

Description

Simple Spring Boot application that receives an image and converts it into a pdf document.

Usage

Maven Wrapper has been installed to this project, so there's no need to install maven on your machine. To run the application you only have to use a simple command on your terminal:

./mvnw spring-boot:run

NOTE: Use mvnw.cmd if you're running Windows

Generate a pdf from an image

Send a POST request to http://localhost:9080/img2pdf. You can use the form at http://localhost:9080/ to upload your image.

The service will respond with a json containing an id corresponding to the pdf document generated.

Download your pdf

Use the id provided in order to download your document.

Make a GET request to http://localhost:9080/pdf/<idDocument> to obtain your document. You can directly paste the url on your browser and your download will start immediately

img2pdf's People

Contributors

javihernant avatar

Watchers

 avatar

img2pdf's Issues

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.