Search found 237 matches

by agriz
2016-06-17T17:43:06-07:00
Forum: IMagick
Topic: EXEC or Imagick? - Safer and Faster
Replies: 5
Views: 11617

EXEC or Imagick? - Safer and Faster

I was searching about Imagick and Exec.

Many people say that exec is not secured and should not be used.
On the other hand, Does Imagick have all the options which can be directly run with EXEC?
by agriz
2016-06-17T00:54:57-07:00
Forum: Users
Topic: single convert vs three convert - same result - same performance?
Replies: 11
Views: 6560

Re: single convert vs three convert - same result - same performance?

it was -extent. I wrongly typed here. There is no error message, The image (image2) just becomes white in the output. If i swap and add -extent to image1 again image1 becomes white and image2 works. If i remove -extent it works good. To use extent, do i need -gravity center? -gravity center cause th...
by agriz
2016-06-17T00:17:52-07:00
Forum: Users
Topic: single convert vs three convert - same result - same performance?
Replies: 11
Views: 6560

Re: single convert vs three convert - same result - same performance?

Sir, convert -size 500x500 xc:none ( image.png -resize 100x100 ) -gravity center -compose Dst_Over -composite ( image2.png -resize 200x200 -gravity center -extend 200x200 ) -gravity center -compose Dst_Over -composite output.png not working. convert -size 500x500 xc:none ( image.png -resize 100x100 ...
by agriz
2016-06-16T23:30:28-07:00
Forum: Users
Topic: single convert vs three convert - same result - same performance?
Replies: 11
Views: 6560

Re: single convert vs three convert - same result - same performance?

So single convert is always better?
by agriz
2016-06-16T23:03:57-07:00
Forum: Users
Topic: single convert vs three convert - same result - same performance?
Replies: 11
Views: 6560

Re: single convert vs three convert - same result - same performance?

Please tell how the performance varies for a output, which is written in multiple convert against single convert
by agriz
2016-06-16T23:02:54-07:00
Forum: Users
Topic: single convert vs three convert - same result - same performance?
Replies: 11
Views: 6560

Re: single convert vs three convert - same result - same performance?

Lets assume this.

Code: Select all

convert image1.png [some process] image2.png
convert image3.png [some process] image4.png

convert image2.png index4.png -composite over image5.png
by agriz
2016-06-16T22:32:41-07:00
Forum: Users
Topic: single convert vs three convert - same result - same performance?
Replies: 11
Views: 6560

single convert vs three convert - same result - same performance?

Code: Select all

convert image1.png [some process] image2.png
convert image3.png [some process] image4.png

convert image2.png -composite over image4.png
It uses three convert statement. If we write single convert for the above code, will both kind of codes require the same resource?
by agriz
2016-06-05T21:32:33-07:00
Forum: Users
Topic: Composite over another image
Replies: 13
Views: 10411

Re: Composite over another image

Thank you sir. Your script is working beautifully! http://i.imgur.com/viVqaiW.jpg http://i.imgur.com/HZTtSsv.png http://i.imgur.com/5IpRBU4.png convert rose.jpg -resize 109x109^ -gravity center -extent 109x109 -crop 109x109+0+0 rose_cropped.png convert maginfier.png rose_cropped.png -geometry +10+10...
by agriz
2016-06-05T02:07:55-07:00
Forum: Users
Topic: Composite over another image
Replies: 13
Views: 10411

Re: Composite over another image

Sir, thanks for the code. i will check it out and let you know. Is there any book to study imagemagick in details?
Thanks for your help
by agriz
2016-06-02T05:07:33-07:00
Forum: Users
Topic: Composite over another image
Replies: 13
Views: 10411

Re: Composite over another image

convert my_room.jpg -resize x115 ( +clone -threshold -1 -negate -fill white -draw \"circle 55,55 55,0\" ) -alpha off -compose copy_opacity -composite my_room_mini.png convert my_family_photo.jpg my_room_mini.png -geometry +0+0 -composite family_room.jpg If i try to combine these two comma...
by agriz
2016-06-02T05:03:40-07:00
Forum: Users
Topic: Composite over another image
Replies: 13
Views: 10411

Re: Composite over another image

Code: Select all

-resize x115
gives perfect circle but,

Code: Select all

-resize x110
fails to create perfect circle. Right and Bottom of the circle is little bit gone. (1px might be missing on that circle.)
by agriz
2016-06-02T04:12:27-07:00
Forum: Users
Topic: Composite over another image
Replies: 13
Views: 10411

Re: Composite over another image

Sir, exec($im."\convert my_room.jpg -resize x115 ( +clone -threshold -1 -negate -fill white -draw \"circle 55,55 55,0\" ) -alpha off -compose copy_opacity -composite my_room_mini.png"); By using the above code i changed my room pic to round shape and composite the rounded room to...
by agriz
2016-06-02T01:58:45-07:00
Forum: Users
Topic: Composite over another image
Replies: 13
Views: 10411

Re: Composite over another image

Image

This is the right image. The magnifier became jpg and lost the transparency
by agriz
2016-06-01T22:22:55-07:00
Forum: Users
Topic: Composite over another image
Replies: 13
Views: 10411

Re: Composite over another image

Sir, The magnifier is completely transparent image. There is a group photo. I want to apply this magnifier on that photo. so it is completely transparent. Can we just find and replace the white place in this magnifier with another image?
by agriz
2016-06-01T21:48:37-07:00
Forum: Users
Topic: Composite over another image
Replies: 13
Views: 10411

Composite over another image

Image

I want to display some of photos inside the lens.
I can do this in photoshop. But i am not able to find a proper way to do this in imagemagick.

Please tell me how to do