#wkhtmltoimage — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #wkhtmltoimage, aggregated by home.social.
-
I've put together what I need. Well, I'll probably add a couple more layouts, but these are now very simple.
I've written #Python that reads a #YAML configuration file, uses #exiftool to extract metadata from the images, #montage to render the slides and #ImageMagick to build a PDF from the slides. Inevitably, I got ambitious and decided to enhance it with the option of generating any of the constituent images from really basic #markdown. So now I have a subpath that uses the Python markdown library to generate #HTML, then #wkhtmltoimage and ImageMagick to turn the HTML into a PNG that feeds with the other images into montage.
It's general enough for what I need. I've attached my test YAML and the resulting slides. Now to write the actual presentation ...