# Error processing progressive JPEG image

**URL:** <https://discourse.gohugo.io/t/error-processing-progressive-jpeg-image/55781>\
**Category:** support\
**Created:** [August 25, 2025, 7:42pm UTC](https://discourse.gohugo.io/t/error-processing-progressive-jpeg-image/55781 "2025-08-25T19:42:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tom\_Durand](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/tom_durand/32/14460_2.png) [@Tom\_Durand](https://discourse.gohugo.io/u/Tom_Durand)\
**Post date:** [August 25, 2025, 7:42pm UTC](https://discourse.gohugo.io/t/error-processing-progressive-jpeg-image/55781/1 "2025-08-25T19:42:28Z")

</div>

I noticed hugo doesn’t handle progressive jpeg files.

```auto
<$img.Resize>: error calling Resize: resize /Images/GOAT2.jpg: invalid JPEG format: missing 0xff00 sequence

```

In fact it’s not even seen as an image. When renamning it as pjpg, it’s not seen as an image anymore and it’s .Height that throws an error. It’s one thing that jxl don’t work (not your fault) but coughing on jpg because they have a progressive feature ? Nasty.

---

<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:** [August 25, 2025, 8:38pm UTC](https://discourse.gohugo.io/t/error-processing-progressive-jpeg-image/55781/2 "2025-08-25T20:38:31Z")

</div>

> [@Tom\_Durand](#):
>
> I noticed hugo doesn’t handle progressive jpeg files.

Hugo _does_ handle progressive JPEG images, but apparently is having a problem with _your_ image. Please provide a link to the original image file, and your Hugo version.

Here’s an example of image processing with a progressive JPEG:

```plaintext
git clone --single-branch -b hugo-forum-topic-55781 https://github.com/jmooring/hugo-testing hugo-forum-topic-55781
cd hugo-forum-topic-55781
hugo server

```

Examing the `progressive.jpg` image used in the example above…

```sh
$ exiftool -encodingProcess -T assets/images/progressive.jpg

Progressive DCT, Huffman coding

```

```sh
$ identify -verbose assets/images/progressive.jpg | grep Interlace

Interlace: JPEG

```
