Menu

Post image 1
Post image 2
1 / 2
0

Rendering powerpoint to png files with JBang

DEV Community·Shaaf Syed·about 1 month ago
#nUX9Yy6j
#java#llm#tools#software#fullscreen#jbang
Reading 0:00
15s threshold

Part of my daily work is to create instructions for workshops, and labs. One of the things in that entire content creation process, is to take screenshots and matching instructions and inorder to do that sometimes I need to add arrows, boxes, etc.. Using something like Google docs is pretty easy at that point, drag the screen shot create the overlay items. This time around I ended up having tons of such slides (a little over exaggeration). The next problem, download them as PNG files to add to the instructions. Out of all the nice usability tricks Google docs does not allow me to optimize on this. So I have to download one slide image at a time. yes really!! Well that was some rant, but hey now we have a JBang script that will do the rest. :) This post demonstrates how to leverage JBang and Apache POI to build a zero-ceremony script that renders PPTX slides to high-DPI PNGs. JBang: For utility scripts, the overhead of a Maven/Gradle project is a deterrent.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More