# Postprocess custom output formats

**URL:** <https://discourse.gohugo.io/t/postprocess-custom-output-formats/40404>\
**Category:** support\
**Created:** [September 6, 2022, 9:12pm UTC](https://discourse.gohugo.io/t/postprocess-custom-output-formats/40404 "2022-09-06T21:12:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [September 6, 2022, 9:37pm UTC](https://discourse.gohugo.io/t/postprocess-custom-output-formats/40404/2 "2022-09-06T21:37:04Z")

</div>

Hugo cannot convert an SVG to a raster image, nor can it convert a raster image into an SVG.

> [@jacobtomlinson](#):
>
> if there is a better way to generate og:images with Hugo

Take a look at the [theme](https://github.com/gohugoio/gohugoioTheme/) for the Hugo docs site, specifically:

[https://github.com/gohugoio/gohugoioTheme/blob/master/layouts/partials/opengraph/get-featured-image.html](https://github.com/gohugoio/gohugoioTheme/blob/master/layouts/partials/opengraph/get-featured-image.html)

It starts with an empty image, then overlays the desired text.

---

_[View the full topic](https://discourse.gohugo.io/t/postprocess-custom-output-formats/40404)._
