Permalink
Browse files

Add JPEG compression to filters

Removes EXIF information, so it doesn't leak out.
  • Loading branch information...
1 parent d94addd commit b296421c20191266310a069a230be09cfdc17cf0 Kay Hayen committed with Sep 30, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 nikola/filters.py
View
@@ -63,3 +63,6 @@ def yui_compressor(infile):
def optipng(infile):
return runinplace(r"optipng -preserve -o2 -quiet %1", infile)
+
+def jpegoptim(infile):
+ return runinplace(r"jpegoptim -p --strip-all -q %1",infile)

0 comments on commit b296421

Please sign in to comment.