diff options
author | pacien | 2022-09-04 18:14:42 +0200 |
---|---|---|
committer | pacien | 2022-09-04 18:14:42 +0200 |
commit | be5780ddb4e92a0292a88a75bf6923ccd1b2a049 (patch) | |
tree | b45b93a9253dc95ed6c5725dc41ab55931f02769 /compiler/src | |
parent | 80efbefbc747687047ae09c1fb8805a65bc3e4dc (diff) | |
download | ldgallery-be5780ddb4e92a0292a88a75bf6923ccd1b2a049.tar.gz |
compiler: reword log action for image processing
Images aren't generated out of nowhere, they're processed.
Diffstat (limited to 'compiler/src')
-rw-r--r-- | compiler/src/FileProcessors.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/src/FileProcessors.hs b/compiler/src/FileProcessors.hs index 5c4e1c8..6e1738e 100644 --- a/compiler/src/FileProcessors.hs +++ b/compiler/src/FileProcessors.hs | |||
@@ -1,7 +1,7 @@ | |||
1 | -- ldgallery - A static generator which turns a collection of tagged | 1 | -- ldgallery - A static generator which turns a collection of tagged |
2 | -- pictures into a searchable web gallery. | 2 | -- pictures into a searchable web gallery. |
3 | -- | 3 | -- |
4 | -- Copyright (C) 2019-2020 Pacien TRAN-GIRARD | 4 | -- Copyright (C) 2019-2022 Pacien TRAN-GIRARD |
5 | -- | 5 | -- |
6 | -- This program is free software: you can redistribute it and/or modify | 6 | -- This program is free software: you can redistribute it and/or modify |
7 | -- it under the terms of the GNU Affero General Public License as | 7 | -- it under the terms of the GNU Affero General Public License as |
@@ -79,7 +79,7 @@ copyFileProcessor inputPath outputPath = | |||
79 | 79 | ||
80 | resizePictureUpTo :: Resolution -> FileTransformer | 80 | resizePictureUpTo :: Resolution -> FileTransformer |
81 | resizePictureUpTo maxResolution inputPath outputPath = | 81 | resizePictureUpTo maxResolution inputPath outputPath = |
82 | putStrLn ("Generating:\t" ++ outputPath) | 82 | putStrLn ("Processing:\t" ++ outputPath) |
83 | >> ensureParentDir (flip resize) outputPath inputPath | 83 | >> ensureParentDir (flip resize) outputPath inputPath |
84 | where | 84 | where |
85 | maxSize :: Resolution -> String | 85 | maxSize :: Resolution -> String |