Hi,
Couple of years ago I was using this line:
mogrify -format png -alpha off -bordercolor Black -border 1 -alpha on *.png
to add a 1 pixel Black border around all the images in a folder while maintaining their transparency. Now it's not working anymore, the transparency is filled with black ...
Search found 17 matches
- 2018-07-11T15:57:33-07:00
- Forum: Users
- Topic: Mogrify compose
- Replies: 1
- Views: 2145
- 2010-07-13T17:52:38-07:00
- Forum: Users
- Topic: Series of images by rotating
- Replies: 10
- Views: 19118
Re: Series of images by rotating
Ah, it seems to work like this
Thanks for the help!
Code: Select all
FOR /L %%i IN (0,1,359) DO convert test.png -alpha on -virtual-pixel transparent -distort ScaleRotateTranslate %%i rotated_%%i.png
- 2010-07-13T17:46:37-07:00
- Forum: Users
- Topic: Series of images by rotating
- Replies: 10
- Views: 19118
Re: Series of images by rotating
Still getting Syntax Error after
I also tried putting everything in one line, but I get the same error...
Code: Select all
for /L %%i in (0,1,359) DO (- 2010-07-13T17:13:53-07:00
- Forum: Users
- Topic: Series of images by rotating
- Replies: 10
- Views: 19118
Re: Series of images by rotating
I'm using Windows, in case it matters... and I launched that from a bat file.
I tried replacing 000 with 0, but still the same.
I tried replacing 000 with 0, but still the same.
- 2010-07-13T17:02:35-07:00
- Forum: Users
- Topic: Series of images by rotating
- Replies: 10
- Views: 19118
Re: Series of images by rotating
First -- you can not output to a 'wildcard' filename! That just does not make any sense
Yeah, I know... I wanted to show that there should be different files.
As for the series.. try this...
for i in {000..359}
do
convert test.png -alpha on -virtual-pixel transparent \
-distort ...
- 2010-07-13T16:44:57-07:00
- Forum: Users
- Topic: Series of images by rotating
- Replies: 10
- Views: 19118
Series of images by rotating
I want to apply this code, more or less:
convert test.png -matte -virtual-pixel transparent \ -distort ScaleRotateTranslate 1 *.png
to generate a series of images, each rotated 1 degree more than the previous one. So, I start with test.png which will be at 0 degrees, test1.png will be at 1 ...
convert test.png -matte -virtual-pixel transparent \ -distort ScaleRotateTranslate 1 *.png
to generate a series of images, each rotated 1 degree more than the previous one. So, I start with test.png which will be at 0 degrees, test1.png will be at 1 ...
- 2010-07-13T08:53:51-07:00
- Forum: Users
- Topic: PSD to PNG keep size
- Replies: 4
- Views: 9649
Re: PSD to PNG keep size
Perfect, man! Thank you!
- 2010-07-13T07:50:20-07:00
- Forum: Users
- Topic: PSD to PNG keep size
- Replies: 4
- Views: 9649
Re: PSD to PNG keep size
OK, here's a link: http://rapidshare.com/files/406731031/bigarrow3.zip.html
Wouldn't flatten remove the transparency, though?
And keep in mind that I need the graphics to be in exact the same position as they are in the psd. For example, if I had a layer with just on pixel on it at the position ...
Wouldn't flatten remove the transparency, though?
And keep in mind that I need the graphics to be in exact the same position as they are in the psd. For example, if I had a layer with just on pixel on it at the position ...
- 2010-07-13T06:48:22-07:00
- Forum: Users
- Topic: PSD to PNG keep size
- Replies: 4
- Views: 9649
PSD to PNG keep size
Hi,
I'm trying to convert the layers from a psd file, each in a png on its own. The problem I have is that the layers don't fill the canvas, so each png file is created with a different size, depending on how much graphics is on them. I need them to keep the same size as the psd, their exact ...
I'm trying to convert the layers from a psd file, each in a png on its own. The problem I have is that the layers don't fill the canvas, so each png file is created with a different size, depending on how much graphics is on them. I need them to keep the same size as the psd, their exact ...
Re: Stroking
Aha! Perfect! Thank you very much!
- 2009-12-30T19:53:39-07:00
- Forum: Users
- Topic: Animation strip
- Replies: 6
- Views: 12443
Re: Animation strip
you can also use -geometry -1-1 to try to eliminate extra space
I've tried that, but that cuts the edges of the final image plus the images will not overlay as needed. I need the first left column of pixels of an image to overlay with the last right column of pixels of the previous image so the 1 ...
I've tried that, but that cuts the edges of the final image plus the images will not overlay as needed. I need the first left column of pixels of an image to overlay with the last right column of pixels of the previous image so the 1 ...
Re: Stroking
Nope, still the same.
And if mogrify is old, is there any other way to convert a batch of images and replacing the old files like mogrify does?
And if mogrify is old, is there any other way to convert a batch of images and replacing the old files like mogrify does?
- 2009-12-30T19:25:26-07:00
- Forum: Users
- Topic: Animation strip
- Replies: 6
- Views: 12443
Re: Animation strip
Actually, I found a way to do it like this:
mogrify -gravity NorthWest -chop 1x1 *.png
montage -mode concatenate *.png -tile 5x2 -background none 1.png
convert 1.png -gravity NorthWest -background black -splice 1x1 1.png
Basically, it cuts the left and top edges of each frame (so the edges are not ...
mogrify -gravity NorthWest -chop 1x1 *.png
montage -mode concatenate *.png -tile 5x2 -background none 1.png
convert 1.png -gravity NorthWest -background black -splice 1x1 1.png
Basically, it cuts the left and top edges of each frame (so the edges are not ...
Re: Stroking
And isn't there a way to use splice with mogrify? Because that would solve this problem just fine.
Re: Stroking
Not working. It fills all the transparency with black. I tried -background none but that has no effect.
The files are transparent .png so I need to keep that transparency.
The files are transparent .png so I need to keep that transparency.