github yfedoseev/pdf_oxide v0.2.5
v0.2.5 | Image Embedding & Export

latest releases: v0.3.75, go/v0.3.75, v0.3.74...
6 months ago

v0.2.5 Release

This release adds flexible image handling with embedding and export capabilities for HTML and Markdown conversion.

🖼️ Image Handling Features

  • Image Embedding - Embed images as base64 in output (default)
    • HTML: <img src="data:image/png;base64,...>">
    • Markdown: ![alt](data:image/png;base64,...) (works in Obsidian, Typora, VS Code, Jupyter)
    • Portable - no external file dependencies
  • Image File Export - Save images as separate files
    • Set embed_images=false + image_output_dir to export
    • Relative path references in generated HTML/Markdown
    • Useful for large documents or web publishing
  • Image Conversion
    • PdfImage::to_base64_data_uri() - Convert to data URI
    • PdfImage::to_png_bytes() - In-memory PNG encoding

🔧 Configuration

  • New embed_images option in ConversionOptions
    • Control embedding behavior per conversion
  • Python bindings: new embed_images parameter
    • to_html(), to_markdown(), *_all methods updated

✅ Verification

  • Image embedding tested with various formats (PNG, JPEG)
  • File export tested on large documents
  • Path handling verified across platforms
  • Data URI generation validated

📥 Installation

Rust (crates.io)

cargo add pdf_oxide

Python (PyPI)

pip install pdf_oxide

Release Date: January 9, 2026
Branch: main
Tag: v0.2.5

Don't miss a new pdf_oxide release

NewReleases is sending notifications on new releases.