hugo/resources/images
Bjørn Erik Pedersen ba1d0051b4 media: Make Type comparable
So we can use it and output.Format as map key etc.

This commit also fixes the media.Type implementation so it does not need to mutate itself to handle different suffixes for the same MIME type, e.g. jpg vs. jpeg.

This means that there are no Suffix or FullSuffix on media.Type anymore.

Fixes #8317
Fixes #8324
2021-03-14 15:21:54 +01:00
..
exif exif: Fix handling of utf8 runes in nullString() 2021-03-13 21:20:10 +01:00
color.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
color_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
config.go resources/images: Allow to set background fill colour 2019-10-20 22:06:58 +02:00
config_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
filters.go images: Add images.Overlay filter 2020-12-17 09:14:18 +01:00
filters_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
image.go media: Make Type comparable 2021-03-14 15:21:54 +01:00
overlay.go images: Add images.Overlay filter 2020-12-17 09:14:18 +01:00
resampling.go Add a set of image filters 2019-08-28 15:59:54 +02:00
smartcrop.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00