getting a limited number of files from imageMagick -
i'm trying make compilation of 3 thumbs cover top of image. i'm using following command line command that:
convert cap/test.jpg -resize 300x -crop 100x135 -strip cap/t.jpg
this resizes image , cuts in 100x135 tiles. more top 3 only. don't need those. can keep first 3 , delete rest, feels inefficient programming. there way limit number of files written imagemagick 3?
eventually fixed making 1 image fixed width , height cut in 3 separate images. seems double work though, since images processed twice. can't quality either. here's workaround:
convert cap/test.jpg resize 300x -gravity north -crop 300x135+0+0 -crop 100x135 -strip cap/t.jpg
but said, processes image more absolutely necessary think. if knows better solution i'm interested!
Comments
Post a Comment