imageproc: Rename _resized_images as _processed_images

This commit is contained in:
Vojtech Kral 2018-06-24 22:21:33 +02:00 committed by Vincent Prouillet
parent 3e4aa82ecc
commit 17de3c9a97
12 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ use utils::fs as ufs;
use errors::{Result, ResultExt}; use errors::{Result, ResultExt};
static RESIZED_SUBDIR: &'static str = "_resized_images"; static RESIZED_SUBDIR: &'static str = "_processed_images";
lazy_static!{ lazy_static!{
pub static ref RESIZED_FILENAME: Regex = Regex::new(r#"([0-9a-f]{16})([0-9a-f]{2})[.]jpg"#).unwrap(); pub static ref RESIZED_FILENAME: Regex = Regex::new(r#"([0-9a-f]{16})([0-9a-f]{2})[.]jpg"#).unwrap();
} }

View file

@ -26,7 +26,7 @@ The function usage is as follows:
Gutenberg performs image processing during the build process and places the resized images in a subdirectory in the static files directory: Gutenberg performs image processing during the build process and places the resized images in a subdirectory in the static files directory:
static/_resized_images/ static/_processed_images/
Resized images are JPEGs. Filename of each resized image is a hash of the function arguments, Resized images are JPEGs. Filename of each resized image is a hash of the function arguments,
which means that once an image is resized in a certain way, it will be stored in the above directory and will not which means that once an image is resized in a certain way, it will be stored in the above directory and will not

View file

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 9.6 KiB

View file

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

View file

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View file

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

View file

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

View file

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

View file

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View file

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

View file

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View file

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB