Coder Social home page Coder Social logo

pictures too? about gotenberg HOT 13 CLOSED

gotenberg avatar gotenberg commented on May 10, 2024 3
pictures too?

from gotenberg.

Comments (13)

gulien avatar gulien commented on May 10, 2024 1

Currently the scope of Gotenberg is to convert various files to PDF. So conversion to others formats is not something we plan to add, at least for now.

from gotenberg.

gulien avatar gulien commented on May 10, 2024 1

Indeed πŸ˜„ but I do not want to have an image > 1GB

from gotenberg.

gulien avatar gulien commented on May 10, 2024

Hello!

Not currently, but you could use the HTML conversion to handle such case.

from gotenberg.

labor4 avatar labor4 commented on May 10, 2024

yes i tried it with a html wrapper. the problem is image specific: usually you dont want any margin framing or splitting on pictures or they need to be scaled proportionally. there is logic needed on the html side too.
maybe imagemagick would be a way to framework this?
i know IM is quite big.

m

from gotenberg.

gulien avatar gulien commented on May 10, 2024

Indeed, let’s mark this as enhancement. πŸ‘

from gotenberg.

yoyomule avatar yoyomule commented on May 10, 2024

Yes, this feature is more useful. Is the current pptx document converted to PNG? In addition, whether to consider supporting the conversion of office documents to html5 in the future.

from gotenberg.

tobwen avatar tobwen commented on May 10, 2024

I think, adding Inkscape, Ghostscript and ImageMagick to Gotenberg is a goal, we could achieve together and make this tool even more famous.

from gotenberg.

tobwen avatar tobwen commented on May 10, 2024

Then move away from debian πŸ˜„ No, for real, maybe a fork in future...

A container based conversion service would be a pretty good alternative to all those cloud services, where you don't know what's happening with your documents. But I fully understand if this isn't the way you imagine Gotenberg to go.

from gotenberg.

lukichev avatar lukichev commented on May 10, 2024

I agree with @tobwen on this one. ImageMagick and GS support would be very cool!

from gotenberg.

vegarsti avatar vegarsti commented on May 10, 2024

+1 for a request for this, it would be super neat. We have this as a big use case at work: Converting images to PDF. Is there any way I could help?

from gotenberg.

gulien avatar gulien commented on May 10, 2024

Maybe it should be possible using Google Chrome?

from gotenberg.

vegarsti avatar vegarsti commented on May 10, 2024

Looks like PDFium is what Chrome uses

from gotenberg.

PhE avatar PhE commented on May 10, 2024

We have a friendly fork that can convert several images (png, jpeg, gif) in a single page (svg) ... converted to a PDF :

image

with a single APi call :

$ curl --request POST \
    --url http://localhost:3000/convert/inkscape \
    --header 'Content-Type: multipart/form-data' \
    --form files=@gotenberg_ter.svg \
    --form [email protected] \
    --form [email protected] \
    --form [email protected] \
    -o result_images.pdf

from gotenberg.

Related Issues (20)

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.