문제

How to modify this code so mogrify will generate thumbnails only for the first frame of animated gifs?:

mogrify -resize 80x80 -background white -gravity center -extent 80x80 -format jpg -quality 75 -path thumbnails *.gif
도움이 되었습니까?

해결책

The select frame notation would be [N] immediately after the filename; where N is the frame number you wish to select. See Selecting Frames section under the input filename examples.

mogrify -resize 80x80 \
        -background white \
        -gravity center \
        -extent 80x80 \
        -format jpg \
        -quality 75 \
        -path thumbnails \
        *.gif[0]
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top