"-draw" doesn't take expand escapes.
Alternatives include using "-annotate", which does expand escapes, or using environment variables.
Search found 12163 matches
- 2010-06-11T08:26:43-07:00
- Forum: Users
- Topic: How to put filename onto the image with "mogrify"?
- Replies: 1
- Views: 5243
- 2010-06-10T15:57:46-07:00
- Forum: Bugs
- Topic: Intermittent colormap error when using identify on PNGs
- Replies: 13
- Views: 23524
Re: Intermittent colormap error when using identify on PNGs
No problems in Windows 7, IM 6.6.2-4 Q16 (64 bit):
(Edit: corrected typo in command line.)
Code: Select all
for /L %i in (1,1,100) do identify -format "%wx%h" L7d2p.png
- 2010-06-10T14:56:28-07:00
- Forum: Users
- Topic: identify -- XML dummy -- magic says SVG
- Replies: 13
- Views: 25960
Re: identify -- XML dummy -- magic says SVG
Have you got the rsvg delegate?
- 2010-06-10T14:28:59-07:00
- Forum: Users
- Topic: Outline image on transparent background
- Replies: 12
- Views: 61214
Re: Outline image on transparent background
There are many ways of doing this. Here is one (Windows script): Make a source file: convert logo: -fuzz 15%% -transparent White strokedIn.png Create a red "stroke" around the opaque parts, 20 pixels wide: convert ^ strokedIn.png ^ ( ^ +clone ^ -fill White -colorize 100%% ^ -background Bla...
- 2010-06-10T13:29:49-07:00
- Forum: Users
- Topic: identify -- XML dummy -- magic says SVG
- Replies: 13
- Views: 25960
Re: identify -- XML dummy -- magic says SVG
For each input file, you might say:
convert infile NULL:
and check for non-zero returns.
convert infile NULL:
and check for non-zero returns.
- 2010-06-10T13:25:10-07:00
- Forum: Users
- Topic: Rounded corner border on rounded corner image
- Replies: 9
- Views: 19679
Re: Rounded corner border on rounded corner image
So, your command is: convert -size 646x340 xc:none -fill red -draw "roundRectangle 5,5 646,340 20,20" -compose dstout -matte ( -size 636x330 xc:none -fill white -draw "roundRectangle 0,0 636,330 15,15" small.jpg -compose SrcIn -matte ) -gravity center -compose over -composite rou...
- 2010-06-10T13:01:52-07:00
- Forum: Users
- Topic: Outline image on transparent background
- Replies: 12
- Views: 61214
Re: Outline image on transparent background
I wouldn't know a Photoshop stroke if it hit me in the face.
If you provide a before and after sample, someome might make a suggestion.
If you provide a before and after sample, someome might make a suggestion.
- 2010-06-10T12:51:47-07:00
- Forum: Bugs
- Topic: Segmentation Fault / Bus Error after 6.6.2-0 install (OSX)
- Replies: 18
- Views: 36311
Re: Segmentation Fault / Bus Error after 6.6.2-0 install (OS
If you are getting a segmentation fault on all IM commands, something is badly wrong. How about just "convert", which should show help and exit?
I know nothing about Macs, but what is a "Macbook mini", "netbook"? How much memory?
I know nothing about Macs, but what is a "Macbook mini", "netbook"? How much memory?
- 2010-06-10T12:35:23-07:00
- Forum: Users
- Topic: Rounded corner border on rounded corner image
- Replies: 9
- Views: 19679
Re: Rounded corner border on rounded corner image
For "-composite over", you probably meant "-compose over -composite". Here's a complete Windows script. rem Add a rounded corner by two different methods. set SRC=logo: set InRad=15 set OutRad=20 set BORDCOL=red FOR /F "usebackq" %%L IN (`identify -format "WW=%%w\n...
- 2010-06-10T11:30:45-07:00
- Forum: Users
- Topic: Rounded corner border on rounded corner image
- Replies: 9
- Views: 19679
Re: Rounded corner border on rounded corner image
A debug printing of $cmd might help. The last "-composite" will have the previous "-compose" setting, which is "SrcIn", which might not be what you want. But the previous bracket has a "-compose" with no "-composite", which is suspicious. $cmd seems ...
- 2010-06-10T11:15:43-07:00
- Forum: Users
- Topic: php exec() returns "Invalid Parameter - 400"
- Replies: 9
- Views: 21106
Re: php exec() returns "Invalid Parameter - 400"
What is PHP error 400? Perhaps IM can't find Ghostscript under PHP. Within PHP, are other conversions (eg from PNG) okay? If so, check the PHP configurarion.
- 2010-06-10T10:07:03-07:00
- Forum: Bugs
- Topic: Convert to Ico
- Replies: 3
- Views: 9790
Re: Convert to Ico
If you post the URL of the original28x28.png, someone can try your commands with a more recent IM.
- 2010-06-09T22:33:47-07:00
- Forum: Users
- Topic: Basic animation
- Replies: 8
- Views: 19569
Re: Basic animation
IM uses ffmpeg as a delegate for movie operations. It isn't exactly a dependancy, but if you don't have ffmpeg, IM can't do those operations.
On Windows, IM comes with ffmpeg. On other platforms, you have to install it yourself.
On Windows, IM comes with ffmpeg. On other platforms, you have to install it yourself.
- 2010-06-09T09:07:32-07:00
- Forum: Users
- Topic: concatenating images of different size, with gap between,
- Replies: 2
- Views: 17744
Re: concatenating images of different size, with gap between
Suppose we have:
convert -size 100x100 xc:green g.png
convert -size 30x100 xc:blue b.png
We can put them side-by-side with no gap or border:
convert g.png b.png +append gb.png
We can do this with a 10-pixel red gap:
convert g.png b.png +append -background red -splice 10x0+100+0 gb.png
convert -size 100x100 xc:green g.png
convert -size 30x100 xc:blue b.png
We can put them side-by-side with no gap or border:
convert g.png b.png +append gb.png
We can do this with a 10-pixel red gap:
convert g.png b.png +append -background red -splice 10x0+100+0 gb.png
- 2010-06-09T08:56:44-07:00
- Forum: Users
- Topic: To concatenate 3 borderless images *and* get a border?
- Replies: 6
- Views: 12893
Re: To concatenate 3 borderless images *and* get a border?
"-splice" is fairly new. What version IM are you on? You may need to upgrade.