diff --git a/ImageOptim.sh b/ImageOptim.sh index b9b442c01..543d62d61 100755 --- a/ImageOptim.sh +++ b/ImageOptim.sh @@ -40,6 +40,10 @@ for PNG in $PNGS; do SUFFIX="~ipad" BASENAME=$(echo ${BASENAME} |cut -f1 -d~) ;; + # don't ever resize 9Patch assets, otherwise it can't handle the resizing + *9) + PROCESS=false + ;; esac STANDARDFILE=${BASENAME}${SUFFIX}.png