hugo/media
J. Ansorg e5856e61d8 resources: Support output image format in image operations
The image format is defined as the image extension of the known formats,
excluding the dot.
All of 'img.Resize "600x jpeg"', 'img.Resize "600x jpg"',
and 'img.Resize "600x png"' are valid format definitions.
If the target format is defined in the operation definition string,
then the converted image will be stored in this format. Permalinks and
media type are updated correspondingly.
Unknown image extensions in the operation definition have not effect.

See #6298
2019-09-21 16:50:27 +02:00
..
docshelper.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
mediaType.go resources: Support output image format in image operations 2019-09-21 16:50:27 +02:00
mediaType_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00