Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add JPEG compression to filters

Removes EXIF information, so it doesn't leak out.
  • Loading branch information...
commit b296421c20191266310a069a230be09cfdc17cf0 1 parent d94addd
Kay Hayen authored committed
Showing with 3 additions and 0 deletions.
  1. +3 −0  nikola/filters.py
View
3  nikola/filters.py
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.