Changes to be committed:
- Starkes Komprimieren von png new file: src/Makefiles/Makefile.pngCompress - Dynamische Bitrate, damit eine max. Dateigröße von 10MB eingehalten wird modified: src/Makefiles/Makefile.vidstabTest new file: src/galleryHelper/getVideoDuration.py new file: src/galleryHelper/getVideoDurationJson.py
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
pngCompressed/%.png: %.png
|
||||
mkdir -p pngCompressed
|
||||
pngquant --speed 1 --force --output $@ $^
|
||||
zopflipng -y --iterations=500 --filters=01234mepb --lossy_8bit --lossy_transparent $@ $@
|
||||
|
||||
pngCompressed/%.png: %.jpg
|
||||
mkdir -p pngCompressed
|
||||
convert $^ $(patsubst %.jpg,%.png,$^)
|
||||
pngquant --speed 1 --force --output $@ $^
|
||||
zopflipng -y --iterations=500 --filters=01234mepb --lossy_8bit --lossy_transparent $@ $@
|
||||
rm -f $(patsubst %.jpg,%.png,$^)
|
||||
Reference in New Issue
Block a user