Search found 8 matches
- 2012-07-09T08:46:11-07:00
- Forum: Users
- Topic: "Compare" multiple images
- Replies: 1
- Views: 4780
"Compare" multiple images
I have a website with thousands of images. I would like to allow someone to upload an image and let them "search" by it returning "matches". Can imagemagick do this? I would need to store something for each of my images, and then compare that with the same something from the search image. Is this a ...
- 2011-01-25T14:04:29-07:00
- Forum: Developers
- Topic: Script is finished but "convert" continues to run?
- Replies: 2
- Views: 6546
Re: Script is finished but "convert" continues to run?
Thanks for the info...I will look at putting a -limit-memory in place. According to the resource list I have 1.5gb...I am assuming I should just set something like 10mb (most files that are processed are less than 4mb). I guess I am still confused why convert would continue to run when the output is ...
- 2011-01-25T12:53:34-07:00
- Forum: Developers
- Topic: Script is finished but "convert" continues to run?
- Replies: 2
- Views: 6546
Script is finished but "convert" continues to run?
I have a process that I can run to turn PDF files into individual JPG's. The process is a PHP script that calls ImageMagick from the command line. This script has run flawlessly (and still continues to do so). My question/problem is that I have noticed that the PHP script (and subsequent ImageMagick ...
- 2010-02-18T16:11:20-07:00
- Forum: Users
- Topic: Chaining Successful Commands
- Replies: 9
- Views: 25961
Re: Chaining Successful Commands
Yeah...I figured that was it...although I thought that calling shell_exec would actually run the command as a bash command. Go figure.
Hopefully this might help out others if the come this way.
Hopefully this might help out others if the come this way.
- 2010-02-18T15:37:29-07:00
- Forum: Users
- Topic: Chaining Successful Commands
- Replies: 9
- Views: 25961
Re: Chaining Successful Commands
Thanks for the help guys. Actually the problem is that when running it in the shell_exec function it doesn't like it broken up on multiple lines. i.e. this doesn't work: shell_exec( "/usr/bin/composite -gravity center /full/path/to/overlay.png /full/path/to/image.png miff:- |\ /usr/bin/convert ...
- 2010-02-18T10:10:52-07:00
- Forum: Users
- Topic: Chaining Successful Commands
- Replies: 9
- Views: 25961
Re: Chaining Successful Commands
Thanks gents...I did the first thing (silly me forgot the -). Now my problem is that when I run the command from the command line it works, when I try to do it through php's shell_exec it does not. Here is my code: $output = shell_exec( "/usr/bin/composite -gravity center /full/path/to/overlay.png ...
- 2010-02-18T08:31:57-07:00
- Forum: Users
- Topic: Chaining Successful Commands
- Replies: 9
- Views: 25961
Chaining Successful Commands
I have 2 commands that function correctly independently. I have tried to use the miff command to chain them, but I get an error (below). I also cannot figure out how to "merge" them. First: (pretty simple, just applies the overlay to image and saves as result) composite -gravity center overlay.png ...
- 2009-10-01T21:18:51-07:00
- Forum: Users
- Topic: PDF's to JPEG's, displaying in different browsers
- Replies: 1
- Views: 4847
PDF's to JPEG's, displaying in different browsers
I have several PDF's that I upload and use the following command to convert to JPEG's: convert -density 300 "PDF" -resize 750x1000 -quality 65 "image%02d_f.jpg" After I do this, I then run the following command to create a thumbnail of the large image: find /path/to/folder -name \'*.jpg\' -exec ...