Silent optipng too
This commit is contained in:
@@ -19,7 +19,7 @@ logger = logging.getLogger(__name__)
|
|||||||
# A list of file types with their respective commands
|
# A list of file types with their respective commands
|
||||||
COMMANDS = [
|
COMMANDS = [
|
||||||
('.jpg', 'jpegtran -copy none -optimize -outfile "{filename}" "{filename}"'),
|
('.jpg', 'jpegtran -copy none -optimize -outfile "{filename}" "{filename}"'),
|
||||||
('.png', 'optipng "{filename}"'),
|
('.png', 'optipng --quiet "{filename}"'),
|
||||||
]
|
]
|
||||||
|
|
||||||
def optimize_images(pelican):
|
def optimize_images(pelican):
|
||||||
|
|||||||
Reference in New Issue
Block a user