Error with imageConfig: image: unknown format

Have a read through this topic: How do I turn a genericResource into an image? to see if it’s any help.

Edit:

It may be your svg images:

{{ with $image }}
{{ if (eq .MediaType.SubType "svg") }}
  {{ warnf "%q" .Permalink }}
{{ else }}
  {{ .ResourceType }} || {{ .MediaType.SubType}} || {{.Width}}
{{ end }}
{{ end }}

Also: https://github.com/gohugoio/hugo/issues/3700