olxgroup-oss / libvips-rust-bindings

Rust bindings for libvips
MIT License
95 stars 41 forks source link

pdfload operations #24

Open SteadBytes opened 2 years ago

SteadBytes commented 2 years ago

Safe operations for vips_pdfload/vips_pdfload_buffer/vips_pdfload_source (and the _with_opts counterparts) would be useful. The unsafe bindings are currently available, but it looks like the safe wrappers have not been generated. Were these filtered out during the generation process?

Happy to help with the implementation 😄

SteadBytes commented 2 years ago

I think this is due to building libvips without pdf support - poppler is not included in the list of dependencies installed in the generator container https://github.com/olxgroup-oss/libvips-rust-bindings/blob/147b481b6788b76ace38cff58c3a70d9473caad9/generator/Dockerfile#L6.