I have one PNG graphic that I want to generate 44 additional versions of.
The conversion is a CW ROTATION increasing every 2° up until I reach 90°. Each rotation should be sequentially named and the background must preserve it's transparency. This represents my first (serious) experience with ImageMagick, so I appreciate any resources you might recommend for a beginner such as myself, Thanks everyone.
Batch Rotate *ONE* Graphic 44 times and Preserve the Image's Transparency?
Batch Rotate *ONE* Graphic 44 times and Preserve the Image's Transparency?
(2[Bb]|[^2].|.[^Bb])
That is the question.
That is the question.
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Batch Rotate *ONE* Graphic 44 times and Preserve the Image's Transparency?
Please always give your IM version number and platform. It saves time when you later say "I haven't got convert" or whatever.
Instead of "rose:", use whatever image you want.
This creates 45 frames in a single GIF. Or you could write to "x_%03d.png" for 45 PNG files.
Useful resources for beginners (and the rest of us) include:
http://www.imagemagick.org/Usage/
http://www.imagemagick.org/Usage/basics/
http://www.imagemagick.org/script/comma ... ptions.php
http://www.imagemagick.org/script/comma ... essing.php
Code: Select all
convert rose: -duplicate 44 -distort SRT "1,%[fx:t*2]" x.gif
This creates 45 frames in a single GIF. Or you could write to "x_%03d.png" for 45 PNG files.
Useful resources for beginners (and the rest of us) include:
http://www.imagemagick.org/Usage/
http://www.imagemagick.org/Usage/basics/
http://www.imagemagick.org/script/comma ... ptions.php
http://www.imagemagick.org/script/comma ... essing.php
snibgo's IM pages: im.snibgo.com
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Batch Rotate *ONE* Graphic 44 times and Preserve the Image's Transparency?
One more reference:
http://www.imagemagick.org/Usage/reference.html
Also if using IM 7 rather than IM 6, see
http://imagemagick.org/script/porting.php
http://www.imagemagick.org/Usage/reference.html
Also if using IM 7 rather than IM 6, see
http://imagemagick.org/script/porting.php
Re: Batch Rotate *ONE* Graphic 44 times and Preserve the Image's Transparency?
FMW42 and snibgo . . . Thank you and I can't wait to try these solutions out!
However . . .
I can't read my thread (or anyone else's) until I figure out how to display it in (traditional forum layout) Ascending. It's so stupid but I literally cannot read threads Descending. I thought I set the preference in my Control Panel but it has no effect. I just now set the preference for my thread here (from the icon at the bottom) and it changes my thread temporarily so I can at least read it without getting a headache, but how do I set the preference permanently? There are other threads I'd like to read, as well. I don't doubt this style is more efficient but you jet setters are too advanced for me!! Seriously. Help?
However . . .
I can't read my thread (or anyone else's) until I figure out how to display it in (traditional forum layout) Ascending. It's so stupid but I literally cannot read threads Descending. I thought I set the preference in my Control Panel but it has no effect. I just now set the preference for my thread here (from the icon at the bottom) and it changes my thread temporarily so I can at least read it without getting a headache, but how do I set the preference permanently? There are other threads I'd like to read, as well. I don't doubt this style is more efficient but you jet setters are too advanced for me!! Seriously. Help?
(2[Bb]|[^2].|.[^Bb])
That is the question.
That is the question.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Batch Rotate *ONE* Graphic 44 times and Preserve the Image's Transparency?
You may need to wait for the site admin to help you tomorrow. I do not think either I or snibgo have permissions to edit your account.
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Batch Rotate *ONE* Graphic 44 times and Preserve the Image's Transparency?
No, I can't change user preferences.
For me, threads display in "Ascending" order. The latest post is at the bottom.
In my User Control Panel, Board Preferences, Edit display options, setting "Display topic order direction" is set to "Descending" (so most-recent topic is at the top) but "Display post order direction" is set to "Ascending" (so most-recent post is at the bottom).
Are your settings the same?
For me, threads display in "Ascending" order. The latest post is at the bottom.
In my User Control Panel, Board Preferences, Edit display options, setting "Display topic order direction" is set to "Descending" (so most-recent topic is at the top) but "Display post order direction" is set to "Ascending" (so most-recent post is at the bottom).
Are your settings the same?
snibgo's IM pages: im.snibgo.com
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Batch Rotate *ONE* Graphic 44 times and Preserve the Image's Transparency?
For me Topics are Descending and Posts are Ascending. However as snibgo says, they are reversed. So perhaps the meaning of Ascending and Descending is either reversed or mean just the opposite of what we think they should.
For me Topics are listed latest at the top and Posts are latest at the bottom.
For me Topics are listed latest at the top and Posts are latest at the bottom.
Re: Batch Rotate *ONE* Graphic 44 times and Preserve the Image's Transparency?
You've seamlessly anticipated my question! Please look at the settings in my Rant thread and see how they compare with yours? I just want to make sure we match. Thanks!fmw42 wrote: ↑2017-02-13T21:28:54-07:00 For me Topics are Descending and Posts are Ascending. However as snibgo says, they are reversed. So perhaps the meaning of Ascending and Descending is either reversed or mean just the opposite of what we think they should.
For me Topics are listed latest at the top and Posts are latest at the bottom.
(2[Bb]|[^2].|.[^Bb])
That is the question.
That is the question.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Batch Rotate *ONE* Graphic 44 times and Preserve the Image's Transparency?
We match. See my answer in your other post.
Re: Batch Rotate *ONE* Graphic 44 times and Preserve the Image's Transparency?
Thanks guys.
(2[Bb]|[^2].|.[^Bb])
That is the question.
That is the question.