Search found 18 matches

by excel
2016-01-18T15:17:14-07:00
Forum: Users
Topic: Help to fix error "unbalanced parenthesis"
Replies: 3
Views: 4222

Re: Help to fix error "unbalanced parenthesis"

Dear friends, thank you very much!

I used it (GeeMack's code):
GeeMack wrote:

Code: Select all

convert image.png \
   \( -size 200x50 xc:none -stroke '#ffffb7' -strokewidth 1 -fill none \
   -draw "stroke-dasharray 4 4 path 'M 8,8 192,8 192,42 8,42 8,8' " \) \
   -gravity center -composite -alpha Set -depth 8 result.png
by excel
2016-01-18T07:22:56-07:00
Forum: Users
Topic: Help to fix error "unbalanced parenthesis"
Replies: 3
Views: 4222

Help to fix error "unbalanced parenthesis"

image.png http://beroi.ru/img/6/image.png How in one exec command to compose a frame and to get result.png? result.png http://beroi.ru/img/6/result.png convert -size 200x50 xc:none -stroke '#ffffb7' -strokewidth 1 -fill none \ -draw "stroke-dasharray 4 4 path 'M 8,8 192,8 192,42 8,42 8,8' " \ +write...
by excel
2016-01-01T14:34:11-07:00
Forum: Users
Topic: How to get rid of the errors?
Replies: 7
Views: 4864

Re: How to get rid of the errors?

fmw42 wrote:try this:

Code: Select all

convert \
\( i1.png -resize 200x200 \) \
\( i2.png -resize 90x90 \) -geometry +10+90 -compose over -composite \
\( i3.png -resize 80x80 \) -geometry +90+20 -compose over -composite \
result.png

Thank you very much!
It works great!
by excel
2016-01-01T14:10:38-07:00
Forum: Users
Topic: How to get rid of the errors?
Replies: 7
Views: 4864

Re: How to get rid of the errors?

Send the individual 3 images and tell me where the two smaller images are to be placed in the larger image. If the placement is different for each size, then send where each is to be placed for that size. i1.png http://beroi.ru/img/5/i1.png i2.png http://beroi.ru/img/5/i2.png i3.png http://beroi.ru...
by excel
2016-01-01T13:29:21-07:00
Forum: Users
Topic: How to get rid of the errors?
Replies: 7
Views: 4864

Re: How to get rid of the errors?

Hello, fmw42! Happy New Year! If that does not help, if you can explain what you are trying to do, perhaps we can help correct your command line. We have three png-images in a folder: i1.png, i2.png, i3.png. We need to compose images from a folder in one general image. Each image will be resized in ...
by excel
2016-01-01T11:22:02-07:00
Forum: Users
Topic: How to get rid of the errors?
Replies: 7
Views: 4864

How to get rid of the errors?

convert -resize 200x400 i1.png -write mpr:final_1 +delete -respect-parentheses \ \( convert -resize 200x61 i2.png -write mpr:mem_1 +delete -respect-parentheses \) \ \( convert -resize 206x101 i3.png -write mpr:mem_2 +delete -respect-parentheses \) \ \( mpr:final_1 mpr:mem_1 -geometry +0+339 -compos...
by excel
2015-12-24T16:52:24-07:00
Forum: Users
Topic: Is it shadow bug?
Replies: 2
Views: 3888

Is it shadow bug?

This code works on two servers with different ImageMagick versions. exec("convert -size 200x200 xc:transparent -fill 'rgba(255, 87, 34, 0.5)' -draw 'circle 95,95 30,35' \( +clone -background black -shadow 70x3+1+1 \) +swap -background none -layers merge +repage result.png"); Both servers based in De...
by excel
2015-12-23T17:48:40-07:00
Forum: Users
Topic: Spread and image with opacity
Replies: 10
Views: 8066

Re: Spread and image with opacity

fmw42 wrote:try this

Code: Select all

convert black_pix.png -write mpr:img \
\( mpr:img -alpha off -fill white -colorize 100% -alpha on -write mpr:img2 \) \
+swap \
\( mpr:img2 -virtual-pixel none -spread 15 \) \
-compose over -composite result.png

It's OK! Thank You!
by excel
2015-12-23T10:08:36-07:00
Forum: Users
Topic: Spread and image with opacity
Replies: 10
Views: 8066

Re: Spread and image with opacity

The two different input images you have provide have different colors in the transparent area. The first one was white and this one is black. It does not change the top, since the black is her hair. Can we do it in a few steps for a perfect white pixels? May be several exec-commands? http://beroi.r...
by excel
2015-12-22T19:13:47-07:00
Forum: Users
Topic: Spread and image with opacity
Replies: 10
Views: 8066

Re: Spread and image with opacity

try this: convert image.png -write mpr:img \ \( mpr:img -alpha off -virtual-pixel white -spread 15 \) \ \( mpr:img -alpha extract -virtual-pixel black -morphology erode diamond:15 \) \ -swap 0,1 -compose over -composite \ \( mpr:img -alpha extract \) \ -alpha off -compose copy_opacity -composite re...
by excel
2015-12-22T12:40:37-07:00
Forum: Users
Topic: Spread and image with opacity
Replies: 10
Views: 8066

Re: Spread and image with opacity

try this (unix syntax) convert image.png \ \( -clone 0 -virtual-pixel white -spread 15 -blur 0x0.5 \) \ \( -clone 0 -alpha extract -virtual-pixel black -morphology erode diamond:15 -negate \) \ \( -clone 0-2 -compose over -composite \) \ -delete 1,2 \ \( -clone 0 -alpha extract \) \ -delete 0 \ -al...
by excel
2015-12-22T08:14:24-07:00
Forum: Users
Topic: Spread and image with opacity
Replies: 10
Views: 8066

Spread and image with opacity

There is image.png with opacity. http://beroi.ru/img/3/image.png How to use -virtual-pixel white -spread and get this spread_image.png with opacity? http://beroi.ru/img/3/spread_image.png The sample (spread_image.png) is not very nice, I tried to do it in Photoshop Is it possible to do a similar ac...
by excel
2015-12-22T07:53:39-07:00
Forum: Users
Topic: Dst_Out and layers
Replies: 4
Views: 4876

Re: Dst_Out and layers

Thank you.
I decided to split "extrude.png" into two files.
Then easier to operate and good quality.
by excel
2015-12-21T17:28:32-07:00
Forum: Users
Topic: Dst_Out and layers
Replies: 4
Views: 4876

Re: Dst_Out and layers

try this as one way to do it. (unix syntax) convert rect.png \ \( -clone 0 -fill green1 -colorize 100% \) \ \( extrude.png -alpha extract -auto-level -write show: \) \ -compose over -composite \ -fuzz 30% \ -fill none -draw "matte 2,2 floodfill" \ -rotate 90 -fill none -draw "matte 2,2 floodfill" \...
by excel
2015-12-21T15:53:01-07:00
Forum: Users
Topic: Dst_Out and layers
Replies: 4
Views: 4876

Dst_Out and layers

There are two images: extrude.png (with opacity) and rect.png (without opacity) http://beroi.ru/img/2/extrude.png http://beroi.ru/img/2/rect.png composite -compose Dst_Out -alpha Set extrude.png rect.png result.png This command allows to get such result.png (with opacity): http://beroi.ru/img/2/res...