aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/FileProcessors.hs
Commit message (Collapse)AuthorAge
* compiler: handle dimension flip internallypacien2022-12-27
| | | | | | | | ImageMagick's `-auto-rotate` flag prevents the use of `-ping`, forcing the whole files to be loaded just to read the adjusted width and height. This makes the compiler handle the dimension flipping internally while using `-ping`, which should be way faster.
* compiler: fix exif-rotated image dimension retrievalpacien2022-10-25
| | | | GitHub: fixes #336
* compiler: reword log action for image processingpacien2022-09-04
| | | | Images aren't generated out of nowhere, they're processed.
* compiler: reuse derived item properties from last compilationpacien2020-06-16
| | | | | | | | | | | | | | | | A benchmark on an already bulit gallery with ~600 pictures shows a ~90% speedup: Before: Time (mean ± σ): 2.879 s ± 0.125 s [User: 14.686 s, System: 5.511 s] Range (min … max): 2.774 s … 3.203 s 10 runs After: Time (mean ± σ): 289.5 ms ± 15.1 ms [User: 596.1 ms, System: 359.3 ms] Range (min … max): 272.8 ms … 323.0 ms 10 runs GitHub: closes #97
* compiler: split ItemProcessors, FileProcessors and Cachingpacien2020-06-16