Search found 237 matches

by agriz
2012-01-10T10:58:18-07:00
Forum: Users
Topic: Is it possible to control cpu usage?
Replies: 13
Views: 34296

Re: Is it possible to control cpu usage?

Also, I am using exec to process images with imagemagick.

How do i use PHP module? Do i need to install anything?
Will everything work in the same way as it is working in exec?
by agriz
2012-01-10T10:53:19-07:00
Forum: Users
Topic: Is it possible to control cpu usage?
Replies: 13
Views: 34296

Re: Is it possible to control cpu usage?

I have downloaded and going to check it out.
Memory is not much used.

Only CPU is used a lot.
But i am quite confused whether it is an attack or overload which slows down the site.

Where is policy.xml file located?
/usr/bin/convert is the convert path on my computer
by agriz
2012-01-10T09:05:29-07:00
Forum: Users
Topic: Is it possible to control cpu usage?
Replies: 13
Views: 34296

Re: Is it possible to control cpu usage?

/var/log/message is giving me the following warning kernel: possible SYN flooding on port 80. Sending cookies. I hired a freelance to fix this problem. But he is telling that convert command is using higher cpu usage. The website is hardly running. It took very long time to load. Top command gives s...
by agriz
2012-01-08T23:14:38-07:00
Forum: Users
Topic: Copy color from source image
Replies: 33
Views: 54432

Re: Copy color from source image

First example is working for few images.
For some other images, i am not exactly getting the result.

I will try this now "-sigmoidal-contrast 10,50%"
by agriz
2012-01-08T23:05:15-07:00
Forum: Users
Topic: Copy color from source image
Replies: 33
Views: 54432

Re: Copy color from source image

second example is just merging.
I want the first example.

If i upload my photo, then, it should be merged with that poster and should look like little old poster
by agriz
2012-01-08T22:52:12-07:00
Forum: Users
Topic: Copy color from source image
Replies: 33
Views: 54432

Re: Copy color from source image

I am now trying with different images.
-brightness-contrast -40,30 -- I think, this is the keyword and important to merge the images.

I will upload what i got for different images.
by agriz
2012-01-08T22:43:51-07:00
Forum: Users
Topic: Copy color from source image
Replies: 33
Views: 54432

Re: Copy color from source image

Sorry. You are right. I got it working.

Code: Select all

convert \( 400424.jpg -brightness-contrast -40,30 \) pic2.png -gravity west -geometry +20+0 -compose over -composite 400424_comp.png
I am confused with the image names.
Thank you!!! :)
by agriz
2012-01-08T22:30:02-07:00
Forum: Users
Topic: Copy color from source image
Replies: 33
Views: 54432

Re: Copy color from source image

I got it working!. :)
But Image is not merged with the banner color.
by agriz
2012-01-08T22:23:20-07:00
Forum: Users
Topic: Copy color from source image
Replies: 33
Views: 54432

Re: Copy color from source image

6.7.4-0
and
6.5.4-7

I have these two versions in two computers
by agriz
2012-01-08T21:38:21-07:00
Forum: Users
Topic: Copy color from source image
Replies: 33
Views: 54432

Re: Copy color from source image

Code: Select all

exec("/usr/bin/convert \( banner322.png -brightness-contrast -40,30 \) 6294644895_caba4c5e85_b.jpg -gravity west -geometry +20+0 -compose over -composite user_uploads/fb_friends/400424_comp.png");
I didn't get any output.
by agriz
2012-01-08T21:00:11-07:00
Forum: Users
Topic: Copy color from source image
Replies: 33
Views: 54432

Re: Copy color from source image

I don't have files on my hand. I am just learning. That is why asked.
http://photofunia.com/effects/wanted_poster

I am looking to learn something like this.
Here, Even if i upload a color photo, It merges with the banner.

How to do such a effect using imagemagick?
by agriz
2012-01-08T19:57:46-07:00
Forum: Users
Topic: Copy color from source image
Replies: 33
Views: 54432

Re: Copy color from source image

I have added the image. Now, If we have a color photo of any person, How do i merge that photo with banner? I used the above command with the following two pic. http://i1195.photobucket.com/albums/aa395/prabha_riddles/pic2.png http://i1195.photobucket.com/albums/aa395/prabha_riddles/400424_324213737...
by agriz
2012-01-08T06:54:41-07:00
Forum: Users
Topic: Is it possible to control cpu usage?
Replies: 13
Views: 34296

Re: Is it possible to control cpu usage?

i read that link. But I am not sure how to change the environment variable.
Can you guide me how to do it?

I am using centos.
by agriz
2012-01-08T00:13:44-07:00
Forum: Users
Topic: Copy color from source image
Replies: 33
Views: 54432

Copy color from source image

Hi I have two images. One is very old image (poster) Now I have to dynamically attach another image in that old image. But i want the second image to merge with the old poster image. for example http://i1195.photobucket.com/albums/aa395/prabha_riddles/400424_324213737601333_113544412001601_1056022_1...
by agriz
2012-01-07T18:39:51-07:00
Forum: Users
Topic: Is it possible to control cpu usage?
Replies: 13
Views: 34296

Is it possible to control cpu usage?

I checked the cpu usage. It is reaches 100% with some convert scripts. Memory is free. But CPU usage become full.
Can we control the CPU usage?

Thanks