#1482·gotenberg

LibreOffice image preview

Author: gulienCreated Mar 4, 2026Updated Jun 17, 2026
Labelsenhancementlibreoffice

Hello! Thanks for a great tool!

I am in a process of migrating a Rails app to use Gotenberg for document conversion tasks. Previously, it was using Jodconverter locally to convert Office files to PDF and to generate file previews in PNG (basically thumbnails to click on).

Conversion to PDF is fantastic, but I found out, there is no simple way to get PNG of first document page (from .docx, .odt, .xlsx, etc.).

Do you have some hints? LibreOffice is doing this fine on command line and getting a PNG is a last piece blocking me to fully migrate to Gotenberg.

Originally posted by @cernyjakub in https://github.com/gotenberg/gotenberg/discussions/1469