Commit graph

7 commits

Author SHA1 Message Date
Rodolphe Breard
0326837a62 Removing trailing spaces. 2015-11-04 20:43:49 +01:00
Rodolphe Breard
2885143d58 Fixing a size detection bug.
The conditions used to determine whether or not an image have to be
processed depending on its size were boggus. This commit fixes the
issue, images are now processed as they should.
2015-09-12 19:03:38 +02:00
Rodolphe Breard
31bf102452 Do not compress small images.
Before this commit, every images were reprocessed all of the time.
Because the address book may be re-compressed when new pictures are
added, we want to process them and not reprocess the previous ones.
This commit include a size detection so images below the size limit
are not processed.
2015-09-12 18:43:06 +02:00
Rodolphe Breard
f77a385101 Ignoring photo URLs.
Photos inserted as an URL instead of being base64 encoded should
not be compressed.
2015-09-05 22:15:31 +02:00
Rodolphe Breard
188de5661b Removing the useless -V alias. 2015-09-05 21:38:18 +02:00
Rodolphe Breard
decebd46b1 Compressing images using imagemagick. 2015-09-05 21:25:13 +02:00
Rodolphe Breard
250dc2d0bf arguments parsing 2015-09-05 16:03:34 +02:00