Last active
August 20, 2017 14:06
-
-
Save dhcgn/02a2bd4f5a69717a52734bea9c7f5a0f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gci *.png | Measure-Object Length -Sum | %{$_.Sum / 1kb} | |
# 8.402 kb | |
gci *.png | %{."C:\Program Files\ImageMagick-7.0.6-Q16\convert.exe" $_.FullName -strip $_.FullName } | |
gci *.png | Measure-Object Length -Sum | %{$_.Sum / 1kb} | |
# 9.665 kb | |
gci *.png | Measure-Object Length -Sum | %{$_.Sum / 1kb} | |
# 8.402 kb | |
# Execute https://nukesaq88.github.io/Pngyu/ | |
gci *.png | Measure-Object Length -Sum | %{$_.Sum / 1kb} | |
# 4.548 kb | |
gci *.jpg | Measure-Object Length -Sum | %{$_.Sum / 1kb} | |
# 1.442 kb | |
# Execute http://www.jpegmini.com/ | |
gci *.jpg | Measure-Object Length -Sum | %{$_.Sum / 1kb} | |
# 312 kb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment