Lines Matching refs:png
7 # and executes a similar pipleline to optimize the png file size.
77 # Optimize the png file using pngout with the given options
212 # Returns the color type name of the png file. Here is the list of names
227 # Performs png file optimization.
243 pngout -q -s4 -c0 -force $file $file.tmp.png
244 if [ -f $file.tmp.png ]; then
245 rm $file.tmp.png
249 pngout -q -s4 -c4 -force $file $file.tmp.png
250 if [ -f $file.tmp.png ]; then
251 rm $file.tmp.png
260 optipng -q -zc9 -zm8 -zs0-3 -f0-5 $file -out $file.tmp.png
261 local new_color_type=$(get_color_type $file.tmp.png)
262 # optipng may corrupt a png file when reducing the color type
268 rm $file.tmp.png
270 mv $file.tmp.png $file
352 for f in $(find $dir -name "*.png"); do
402 $program is a utility to reduce the size of png files by removing
409 1 Optimize png files using pngout/optipng and advdef. This can further
411 2 Aggressively optimize the size of png files. This may produce
414 -r<revision> If this is specified, the script processes only png files
496 # Create tmp directory for crushed png file.
512 ALL_FILES=$(git diff --name-only $COMMIT HEAD $DIRS | grep "png$")
525 info "Optimizing png files in $d"
547 echo "Please contact the author of the CL that landed corrupted png files"