Search found 16 matches

by motumbo
2012-11-19T16:41:30-07:00
Forum: Users
Topic: Displace inside Clone
Replies: 1
Views: 2723

Displace inside Clone

I'm getting "unrecognized option -displace" when trying to use "-displace" inside clone: convert over.png dscp_01.png \ \( art.jpg -thumbnail 600x600 -alpha on \) \ \( -clone 1 -clone 2 -displace 0x40 \) \ \( -clone 3 -clone 0 -gravity center -compose over -composite \) \ -delete 1,2,3 -compose over ...
by motumbo
2011-09-28T23:32:47-07:00
Forum: Users
Topic: -verbose consistency
Replies: 3
Views: 6318

Re: -verbose consistency

gotcha! I ended up using -bench

thanks!
by motumbo
2011-09-27T11:07:34-07:00
Forum: Users
Topic: -verbose consistency
Replies: 3
Views: 6318

-verbose consistency

I noted that the result (format) of 'convert -verbose' seems to vary randomly given exactly the same command line. sometimes I get something like: .............cnv.png=>out.jpg[4] PNG 800x800 800x800+0+0 8-bit DirectClass 152kb and then right after trying the same command I get .............cnv.png ...
by motumbo
2011-09-22T21:31:20-07:00
Forum: Users
Topic: Clone centering & shadowing over image background
Replies: 21
Views: 32339

Re: Clone centering & shadowing over image background

Yes, I just noted the 2x sigma calculation. will try those approaches. thanks!
by motumbo
2011-09-22T19:56:35-07:00
Forum: Users
Topic: Clone centering & shadowing over image background
Replies: 21
Views: 32339

Re: Clone centering & shadowing over image background

Perfect, makes sense! btw not sure if this is the appropriate channel but the -shadow itself introduces some artifacts when the sigma value is high, mostly notable with light backgrounds (high contrast between the shadow and the background) note that the borders of the shadow are not smooth as they ...
by motumbo
2011-09-22T18:23:07-07:00
Forum: Users
Topic: Clone centering & shadowing over image background
Replies: 21
Views: 32339

Re: Clone centering & shadowing over image background

6.6.0-0 2010-03-05 Q16 - Mac OSX 10.6.8. and this is what I'm getting:

Image

note that ball.jpg in no longer centered in this output.
by motumbo
2011-09-22T18:06:57-07:00
Forum: Users
Topic: Clone centering & shadowing over image background
Replies: 21
Views: 32339

Re: Clone centering & shadowing over image background

Here you have an (extreme) example of the result I'm looking for. That means that ball.jpg is fully centered and I need to be able to adjust the offset of the shadow without moving the ball.jpg. Let me know if this makes sense.

Image
by motumbo
2011-09-22T17:41:30-07:00
Forum: Users
Topic: Clone centering & shadowing over image background
Replies: 21
Views: 32339

Re: Clone centering & shadowing over image background

I'm still having an issue with the positioning as the -gravity center is now affecting the whole merged layer (ball and shadow) instead of the ball.jpg only: see: convert sky.png ball.jpg \ \( -clone 1 -background black -shadow 100x10+100+100 \) \ \( -clone 1 -clone 2 +swap -background none -layers ...
by motumbo
2011-09-22T17:08:45-07:00
Forum: Users
Topic: Clone centering & shadowing over image background
Replies: 21
Views: 32339

Re: Clone centering & shadowing over image background

-shadow is actually working just fine for me (output attached) but I want to be able to move the X & Y positioning of the shadow in relation to the ball.jpg, and that doesn't seem to be working as expected. In this case the shadow should be 100pixels south and east and not centered. convert sky.png ...
by motumbo
2011-09-22T15:44:51-07:00
Forum: Users
Topic: Clone centering & shadowing over image background
Replies: 21
Views: 32339

Re: Clone centering & shadowing over image background

Thanks again! I think I'm almost there. I was trying to play with -shadow but it doesn't seem to respect the X (+100) Y (+100) positioning... convert sky.png ball.jpg \ \( -clone 1 -gravity center \) \ \( -clone 2 -background black -shadow 100x1+100+100 \) \ \( -clone 3 -clone 2 -compose over ...
by motumbo
2011-09-21T22:19:44-07:00
Forum: Users
Topic: Clone centering & shadowing over image background
Replies: 21
Views: 32339

Re: Clone centering & shadowing over image background

Amazing, it's a perfect example!! I'm now trying to add a gradient over the ball.jpg with something like: \( -size XXxXX gradient:white-#222222 -distort SRT -60 -compose Multiply \) \ and so on..... Where the gradient is the exact size of ball.jpg (-clone 1). Is there any way to use -clone 1's size ...
by motumbo
2011-09-21T17:28:33-07:00
Forum: Users
Topic: Clone centering & shadowing over image background
Replies: 21
Views: 32339

Re: Clone centering & shadowing over image background

done, thanks!
by motumbo
2011-09-21T16:25:18-07:00
Forum: Users
Topic: Clone centering & shadowing over image background
Replies: 21
Views: 32339

Clone centering & shadowing over image background

I'm trying to center on image (-thumbnail) over a background and apply a -shadow and -rise (at 50%) on a single (convert) command-line Here an example of what I'm trying (not working): convert sky.png \( ball.jpg -thumbnail 500x500 \( +clone -background black -shadow 30x12+3+3 \) +swap \( -clone -2 ...
by motumbo
2011-07-26T16:29:59-07:00
Forum: Users
Topic: Using aspect-ratio orientation to select bg image
Replies: 6
Views: 12238

Re: Using aspect-ratio orientation to select bg image

Linux ImageMagick 6.5.4-7 2011-01-17 I was wondering if I can accomplish this with a single call (I'm using PHP), right now I'm using this: convert bg_1.png ( my_photo.jpg -thumbnail 600x600 ) -geometry +200+120 -compose Multiply -composite output.jpg maybe combining: -set filename:aspect '%[fx:w/h ...