julianhille / MuhammaraJS

Muhammara a node module with c/cpp bindings to modify PDF with js for node or electron (based/replacement on/of galkhana/hummusjs)
Other
205 stars 43 forks source link

How to fetch objects from pdf? #328

Open gokaybiz opened 9 months ago

gokaybiz commented 9 months ago

I'm trying to write an optimiser tool for pdf's that changes pdf medias with compressed ones. I already tried something with pdflib but the bytes that were supposed to be returned as images were incorrect.

So, i decided to give a shot to muhammara but I'm not sure if it have suitable methods for that.

Thanks for your efforts btw.

julianhille commented 9 months ago

What kind of methods are you looking for? The DTS file shows most of the things you could use. The cpp lib underlying has even more but not everything is exposed to js