examples/image_convert.sh.example
branchtrunk
changeset 40 31537cd8ec5e
parent 0 474a1293c3c0
equal deleted inserted replaced
39:ba6464ebc3f9 40:31537cd8ec5e
    53 esac
    53 esac
    54 #
    54 #
    55 # 'chroma subsampling mode' mjpegtools >= 1.8.0
    55 # 'chroma subsampling mode' mjpegtools >= 1.8.0
    56 #
    56 #
    57 SUBSAMPLINGMODE=""
    57 SUBSAMPLINGMODE=""
    58 if ppmtoy4m -h | egrep -q "'420mpeg2'"; then
    58 if ppmtoy4m -h 2>&1 | egrep -q "'420mpeg2'"; then
    59     SUBSAMPLINGMODE="-S 420mpeg2"
    59     SUBSAMPLINGMODE="-S 420mpeg2"
    60 fi
    60 fi
    61 #
    61 #
    62 # extract the image size & compute scale value
    62 # extract the image size & compute scale value
    63 #
    63 #