zola/components/templates/src/global_fns
Vojtech Kral 9145af6b3e imageproc things for paths refactor (#1484)
* Move image loading code used by get_image_metadata from templates to imageproc

* resize_image: Compute image resize op beforehand and return metadata to caller

* get_image_metdata: Use a serializable response struct

* imageproc: Add integration tests

* imageproc: Assume webp is lossy

* get_image_metadata: Use webp crate for decoding WebP, image is still not very good at it

* imageproc: Test read_image_dimensions in integration tests

* imageproc: Rename read_image_dimensions() as read_image_metadata()

* imageproc: Fix a regression in hash computation

* imageproc: Don't hardcode hashes in integration tests, pattern match them instead

* imageproc: Style fixes

* imageproc: Fix integration tests on Windows (hopefully)
2021-06-10 10:26:12 +02:00
..
content.rs Some more tweaks 2021-06-10 10:26:12 +02:00
files.rs Some more tweaks 2021-06-10 10:26:12 +02:00
helpers.rs Automatically trim / on Tera fn calls dealing with files 2021-06-10 10:26:12 +02:00
i18n.rs Some more cleanup 2021-06-10 10:26:12 +02:00
images.rs imageproc things for paths refactor (#1484) 2021-06-10 10:26:12 +02:00
load_data.rs Automatically trim / on Tera fn calls dealing with files 2021-06-10 10:26:12 +02:00
macros.rs rustfmt 2018-10-31 08:18:57 +01:00
mod.rs Cleanup of get_url and get_file_hash 2021-06-10 10:26:12 +02:00