mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
resources/image: Fix nilpointer for images with no Exif
E.g. PNG files. Fixes #7688
This commit is contained in:
@@ -58,7 +58,7 @@ type ImageOps interface {
|
||||
Fit(spec string) (Image, error)
|
||||
Resize(spec string) (Image, error)
|
||||
Filter(filters ...interface{}) (Image, error)
|
||||
Exif() (*exif.Exif, error)
|
||||
Exif() *exif.Exif
|
||||
}
|
||||
|
||||
type ResourceTypeProvider interface {
|
||||
|
Reference in New Issue
Block a user