Expand description
A crate for rendering PDF files.
This crate allows you to render PDF files into a pixmap. For more information on how to use this crate, see the example in the GitHub repository.
This crate is still very much in development, because of this, documentation is currently still very lacking.
§Cargo features
This crate has one feature, jpeg2000. See the description of
hayro-syntax for more information.
Structs§
- Interpreter
Settings - Settings that should be applied during the interpretation process.
- A PDF file.
- Pixmap
- A pixmap of premultiplied RGBA8 values backed by
u8. - Render
Settings - Settings to apply during rendering.
Enums§
- Font
Query - A query for a font.
- Standard
Font - The 14 standard fonts of PDF.
Functions§
- render
- Render the page with the given settings to a pixmap.
Type Aliases§
- Font
Data - A container for the bytes of a PDF file.