Search found 4 matches

by larles
2012-12-01T02:02:36-07:00
Forum: Users
Topic: ImageMagick and spritesheet
Replies: 7
Views: 9314

Re: ImageMagick and spritesheet

THANK YOU fmw42 \o/

It works perfectly.
Last question, if I may: in your solution I have to indicate files I want to load and repeat the "same" command for each of them... is there a way to say "open 6 files and apply the same command to them" ?

Thanks again for your time!
by larles
2012-11-30T01:55:06-07:00
Forum: Users
Topic: ImageMagick and spritesheet
Replies: 7
Views: 9314

Re: ImageMagick and spritesheet

Thanks again for your quick replies.
I guess images will help you understanding what I want to achieve:

My 6 original files look like those :
http://delta.riskle.com/~larles/ss0.png http://delta.riskle.com/~larles/ss1.png http://delta.riskle.com/~larles/ss2.png

I want to crop them into separate ...
by larles
2012-11-29T13:07:08-07:00
Forum: Users
Topic: ImageMagick and spritesheet
Replies: 7
Views: 9314

Re: ImageMagick and spritesheet

Yes, you're right, sorry.
So here my example:
http://delta.riskle.com/~larles/harshquad_sprite/

0-5.png are my sources. They're composed of 3columns and 6rows.
I need to take every row on the same line (to have 18columns and 1row), and then append the line to a final file named test.png. Then test ...
by larles
2012-11-29T05:48:01-07:00
Forum: Users
Topic: ImageMagick and spritesheet
Replies: 7
Views: 9314

ImageMagick and spritesheet

Hi,

I'm working on a little script that generates a sprite sheet. I have 6 spritesheets and I need to re-organize them and put their content (once ordered) in a unique file.
I logically chose to use ImageMagick. But here I'm stuck.

Here is what I have so far :
convert '%d.png[0-5]' \( -crop ...