크기가 4000 * 4000 인 큰 크기의 큰 이미지가 있습니다. 나는 이미지에 다양한 작업을 수행 할 :ImageMagick을 효율적으로 연결하고 명령을 변환하여 이미지를 만들지 마십시오
convert a.jpg -crop [email protected] +repage +adjoin tile_6_%d.jpg
convert a.jpg -crop [email protected] +repage +adjoin tile_9_%d.jpg
convert a.jpg -crop [email protected] +repage +adjoin tile_3_%d.jpg
convert a.jpg -resize 120x120 thumbnail.jpg
따라서 나는
convert a.jpg \
\(+clone -resize 66% -crop [email protected] +repage +adjoin -write tile_6x6_%d.jpg +delete \) \
\(+clone -resize 33% -crop [email protected] +repage +adjoin -write tile_3x3_%d.jpg +delete \) \
\(+clone -crop [email protected] +repage +adjoin -write tile_9x9_%d.jpg +delete \) \
-density 150 -quality 50 -resize 120x120 thumbnail.jpg
그런 짓을하려고 36+81+9+1 = 127
의 배치를 작성하지만이 원하는 작동하지 않습니다 250 파일을 생성합니다. 여기서 뭐가 잘못 됐니? 이 모든 명령을 연결하는 가장 좋은 방법은 무엇입니까?