12 Commits

Author SHA1 Message Date
Richard Thier
57fbfa415c file mode changes only 2022-05-05 16:00:44 +02:00
Adrien Beudin
47cb16d931 fix cache in python3 2017-07-12 13:39:45 +02:00
Adrien Beudin
08a93ece26 init python3 version 2017-07-03 13:37:38 +02:00
Adrien Beudin
562388dc20 fix cache for float picture 2017-05-23 21:44:13 +02:00
Adrien Beudin
4fc4868b06 fix cache 2016-05-11 01:07:24 +02:00
Laurent Peuch
43628d480f [mod] renaming 2016-02-28 09:49:22 +01:00
Laurent Peuch
9a24c8dec5 [fix] text is not an option that makes sens to cache 2016-02-28 09:49:02 +01:00
Laurent Peuch
ab0885902e [mod] autopep8 2016-02-28 09:47:33 +01:00
Laurent Peuch
904b1385d1 [mod] upgrade CACHE number to avoid bugs 2016-02-23 05:57:25 +01:00
Julien Malik
947bbe9470 [enh] Same cache logic for thumbs and fullsize pictures
- store gm settings in the cache as a dict
- generalize usage of the gm settings to resize
- can be used to resize fullsize versions of the pictures
- without -quality switch, gm defaults to -quality 75.
  use -define jpeg:preserve-settings for fullsize versions to
  avoid altering them
- do not store "name" in the cache, because when the same image
  is used in a gallery and as the cover, it invalidates the cache
  entry and becomes always generated
2016-02-19 09:51:07 +01:00
Laurent Peuch
01bf77249d [enh] cache images that are auto-oriented by gm 2016-02-18 08:29:08 +01:00
Laurent Peuch
4747366446 [mod] put cache.py in another file 2016-02-18 06:43:28 +01:00