h2non / imaginary

Fast, simple, scalable, Docker-ready HTTP microservice for high-level image processing
https://fly.io/docs/app-guides/run-a-global-image-service/
MIT License
5.53k stars 456 forks source link

PDF Convert: Page selection #177

Open imsickofmaps opened 6 years ago

imsickofmaps commented 6 years ago

Is there an undocumented API param to set that enables a choice of what page of a PDF to convert?

vposham commented 5 years ago

https://github.com/vposhamod/imaginary - I've been through it

Bogidon commented 4 years ago

@vposhamod any plans to put that in a PR?

vposham commented 4 years ago

Sorry for the very very long delay, after exploring PDF options with imaginary - I've decided to use a dedicated PDF service using pdfium which internally uses cgo wrappers. Used this as reference to start with - https://github.com/brunsgaard/go-pdfium-render and https://github.com/bblanchon/pdfium-binaries. Pdfium is much faster/stable/robust/easy license for rasterization process.

mmm8955405 commented 1 year ago

Hope to support PDF function