Reputation:
I want to crop a 960x1080px image into 6 480x360px chunks.
This worked:
convert backdrop1.jpg -crop 480x360 backdrop1tile%d.jpg
But the image naming (%d
) starts at zero.
How can I make the first "tile" be called 'backdrop1tile1.jpg' (and the last 'backdrop1tile6.jpg'), how do I get it to start at 1?
Upvotes: 0
Views: 39
Reputation: 517
Try this, it should work
convert backdrop1.jpg -crop 480x360 -scene 1 backdrop1tile%d.jpg
Upvotes: 1