7 Commits

Author SHA1 Message Date
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