Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/roaldarbol/pdf-to-image
Quarto Extension to convert PDF files to image format (webp)
https://github.com/roaldarbol/pdf-to-image
converter imagemagick quarto quarto-extension
Last synced: about 1 month ago
JSON representation
Quarto Extension to convert PDF files to image format (webp)
- Host: GitHub
- URL: https://github.com/roaldarbol/pdf-to-image
- Owner: roaldarbol
- Created: 2024-11-11T15:35:09.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-11T15:48:22.000Z (2 months ago)
- Last Synced: 2024-11-11T16:37:26.536Z (2 months ago)
- Topics: converter, imagemagick, quarto, quarto-extension
- Language: Lua
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pdf-to-image Extension For Quarto
The `pdf-to-image` converts your PDF figures to `webp` images for use in HTML rendering of your Quarto project.
The extension does the following:
- Adds a converted version of your `pdf` file to `webp` format in the source folder.
- Re-converts only when the source `pdf` file is updated.## Requirements
The extension requires a working installation of [ImageMagick](https://imagemagick.org/script/download.php).## Installing
```bash
quarto add roaldarbol/pdf-to-image
```This will install the extension under the `_extensions` subdirectory.
If you're using version control, you will want to check in this directory.## Using
To use the extension, simply install it and preview/render your project.## Example
Here is the source code for a minimal example: [example.qmd](example.qmd).