gettalong / hexapdf

Versatile PDF creation and manipulation for Ruby
https://hexapdf.gettalong.org
Other
1.21k stars 69 forks source link

Linearization #300

Closed Niccori250k closed 4 months ago

Niccori250k commented 4 months ago

Hello, I heavily use HexaPDF for adding bookmarks to scanned documents and optimizing various files. For this use, since scanned documents generally have their data messed up, it seems better to me that resulting documents be linearized. So, are there any plans to implement a feature to linearize documents?

gettalong commented 4 months ago

Tl;dr: Not planned currently but maybe sometime in the future.

Linearization is only useful in the context of viewing PDFs over a slow connection, there is no other benefit. So if you are just using the PDFs locally, it won't make any sense.

Having said that I currently have no plans to implement linearization. After reading the specification it would be quite a big addition and there are other planned features on the HexaPDF road map for the near future.

Also see https://github.com/gettalong/hexapdf/discussions/226

Niccori250k commented 4 months ago

I see about what I've misunderstood, thank you for the kind reply.

gettalong commented 4 months ago

No problem :smile: If you ran into any pain points using HexaPDF for your tasks, feel free to open an issue.