… weil Bananen keine Äpfel sind!

Batch-Bilder-Optimierungen

Februar 29th, 2016 Friedemann

Da Google laut PageSpeed Insights gerne optimierte Bilder haben möchte und HostEurope hierfür auf ihren Managed Hosting Paketen das Tool `jpegtrans` anbietet, gibt es hier nun den Befehl, um alle JPEGs in ein Google-optimiertes Format zu konvertieren:

1
find . -type f -name "*.jpg" -exec jpegtran -copy none -optimize -perfect {}>{} \;

Leave a Reply

I accept that my given data and my IP address is sent to a server in the USA only for the purpose of spam prevention through the Akismet program.More information on Akismet and GDPR.