Error: error building site: render: failed to render pages: render of "page" failed: "WEBSITE/layouts/_default/baseof.html:11:3": execute of template failed: template: _default/single.html:11:3: executing "_default/single.html" at <partialCached "docs/brand" .>: error calling partialCached: "WEBSITE/layouts/partials/docs/brand.html:4:16": execute of template failed: template: partials/docs/brand.html:4:16: executing "partials/docs/brand.html" at <.Resize>: error calling Resize: image "/Images/history/favicons/brand_symbol2.webp": resize /Images/history/favicons/brand_symbol2.webp: webp: invalid format
I used the same picture in an article with , causing the same error, so it’s likely not the partial’s syntax. What does it say ? given that it looks for the format, I assume it does try to create brand_symbol2_hue891e6a90f675cf2ed19dc7091cda160_176196_200x0_resize_q100_h2_box_2.webp but it’s 0-sized.
Oh, interesting, I forgot that all those exported are in static, as css backgrounds !
Yes, all exported webp (not jpg) files produce that error. So the issue in gimp… Trying the development version.
Well, that’s the file creator, but Go’s image package should be able to decode these without error. You can drag/drop your file into a browser window—it works fine. Exiftool doesn’t barf. ImageMagick doesn’t barf.
Do I have your permission to share the example file with the Go team?
Perfect, cwebp does it. No difference in size though when it comes to the lossless mode, over 6Mo it barely removed 20ko. So it’s a bit of an incompatibility between go and gimp I suppose.
Would you mind creating a 100 pixel by 100 pixel simple image that behaves the same way? That would be a better example for the go team. And then post it somewhere so that I may download the original. Thanks.