Search found 25563 matches

by fmw42
2008-03-20T10:26:29-07:00
Forum: Users
Topic: Effect like xero illustrator plugin
Replies: 0
Views: 3537

Re: Effect like xero illustrator plugin

Looks to me from the link you showed that the coloration is like saturation and the abstraction is possibly like contrast (would need more examples or info to know with more confidence). In IM commands you can try to simulate those using the -modulation to control saturation (as well as brightness a...
by fmw42
2008-03-19T22:15:22-07:00
Forum: Developers
Topic: Mapping Bezier Curves Through Points
Replies: 5
Views: 20319

Re: Mapping Bezier Curves Through Points

I am no expert on the use of Bezier curves in IM, but see

http://www.imagemagick.org/Usage/draw/#cubic

for details on the use of control points, which you appear not to have used.
by fmw42
2008-03-17T16:15:50-07:00
Forum: Users
Topic: Subtracting an image from another
Replies: 0
Views: 3574

Re: Subtracting an image from another

I am not sure I understand what you want to do. What exactly do you want to remove? Could you explain further and possibly post links to some examples?
by fmw42
2008-03-16T14:44:36-07:00
Forum: Users
Topic: Outputting average color characteristics
Replies: 3
Views: 16617

Re: Outputting average color characteristics

If you are using IM 6.3.9.1+ you can now use string formats to get the average or mean value. See http://www.imagemagick.org/script/command-line-options.php?#format redave=`convert <image> -channel Red -separate -format "%[mean]" info:` echo $redave etc for Green and Blue Alternately, you ...
by fmw42
2008-03-16T14:13:03-07:00
Forum: Users
Topic: How do I auto-crop white pixel line borders of a picture?
Replies: 4
Views: 32816

Re: How do I auto-crop white pixel line borders of a picture?

You can also try using my script autotrim. It uses a slightly different approach, but the end result is similar. You can get it at http://www.fmwconcepts.com/imagemagick/index.html
by fmw42
2008-03-14T16:43:40-07:00
Forum: Users
Topic: 3D Transform width a Cover and a special Hover Effekt
Replies: 27
Views: 52920

Re: 3D Transform width a Cover and a special Hover Effekt

You can composite images together using the -geometry ... -compose ... -composite command. You need to create a background image that is transparent first of the final size. To make a transparent background use: convert -size WIDTHxHEIGHT xc:none <outputimage> The -geometry command tells you where t...
by fmw42
2008-03-13T18:52:48-07:00
Forum: Users
Topic: 3D Transform width a Cover and a special Hover Effekt
Replies: 27
Views: 52920

Re: 3D Transform width a Cover and a special Hover Effekt

IM has a -distort perspective function that allows you to specify four sets of points (presumably the corners in the source and destination images) and do a perspective warp of the image. You probably want the +distort form or the use of the "-set option:distort:viewport {geometry_string}"...
by fmw42
2008-03-12T21:29:26-07:00
Forum: Users
Topic: Convert PDF to JPG/GIF
Replies: 5
Views: 25179

Re: Convert PDF to JPG/GIF

Actually I have no idea what is really going on, but have you tried to upgrade to the latest version of IM 6.3.9-x. The folks at IM are constantly improving things and perhaps there was some change made recently that has fixed an issue with the use of Ghostscript. You might also search the archives ...
by fmw42
2008-03-10T23:00:27-07:00
Forum: Users
Topic: Fisheye effect
Replies: 4
Views: 13978

Re: Fisheye effect

You can now do something like this with my new bubblewarp script that allows you to apply warp an image onto a hemisphere. It is not the same as a true 180 degree field of view fisheye effect, but similar. http://www.fmwconcepts.com/imagemagick/index.html I hope to do a proper fisheye distortion, bu...
by fmw42
2008-03-10T16:12:17-07:00
Forum: Users
Topic: convert -flop image.jpg image.jpg
Replies: 4
Views: 13211

Re: convert -flop image.jpg image.jpg

put the input image before the -flop and also regarding the loss, save the image in non-jpeg format such as png or use -quality 100

convert image.jpg -flop image1.png

or

convert image.jpg -flop -quality 100 image2.jpg
by fmw42
2008-03-10T16:07:55-07:00
Forum: Users
Topic: How to position images using Polar coordination (in a circle
Replies: 3
Views: 9068

Re: How to position images using Polar coordination (in a circle

(x-xc)=r*cos(pi*angle/180)
(y-yc)=r*sin(pi*angle/180)

where

xc=x coordinate of center of image
yc=y coordinate of center of image

r=radius
angle=bearing in degrees
by fmw42
2008-03-10T11:56:35-07:00
Forum: Developers
Topic: question about -monitor
Replies: 1
Views: 6281

question about -monitor

I have been using -monitor to report the progress in scripts that especially use -fx. I notice that the progress readout seems to progress exponentially rather than linearly. For example it might read 0%, 3%, 6%, 12%, 25%, 50%, 100%. Is this intended? Would it be possible to make the readout more li...
by fmw42
2008-03-09T20:42:40-07:00
Forum: Users
Topic: change in "compose -multiply" from IM 6.2 to 6.3?
Replies: 17
Views: 34345

Re: change in "compose -multiply" from IM 6.2 to 6.3?

I don't see any difference between the two methods:

compare -metric rmse triangle_red_new.png triangle_red_new1.png null:
0 (0)
by fmw42
2008-03-09T20:30:36-07:00
Forum: Users
Topic: change in "compose -multiply" from IM 6.2 to 6.3?
Replies: 17
Views: 34345

Re: change in "compose -multiply" from IM 6.2 to 6.3?

Yes, it probably does double the alpha channel effect as I had to extract the alpha channel and reapply it to the result of the first multiply. I did not do an exact analysis, but simply a visual comparison and it looked the same. As to why the second does not give the same as the first, I will have...
by fmw42
2008-03-09T17:38:25-07:00
Forum: Users
Topic: change in "compose -multiply" from IM 6.2 to 6.3?
Replies: 17
Views: 34345

Re: change in "compose -multiply" from IM 6.2 to 6.3?

OK, here it is - two ways: convert \( -size 13x13 xc:red triangle_white.png -compose multiply -composite \) \ \( triangle_white.png -channel A -negate -separate \) \ -compose Copy_Opacity -composite triangle_red_new.png convert triangle_white.png \ \( -clone 0 -size 13x13 xc:red -compose multiply -c...