You tried thisone:
Code: Select all
time convert -rotate 45 -resize 800x600 -quality 80 ~/2.jpg ~/1.jpg
Try this:
Code: Select all
time convert -resize 800x600 -rotate 45 -quality 80 ~/2.jpg ~/1.jpg
Same effect:
Code: Select all
time convert -rotate 45 -scale 800x600 -quality 80 ~/2.jpg ~/1.jpg
Should faster:
Code: Select all
time convert -scale 800x600 -rotate 45 -quality 80 ~/2.jpg ~/1.jpg
Maybe, if you read these lines, you will see, that i changed the positions of action. Sure, if you think about, there is many power, that you give to hell. I´ll understand, that you try to compensate lame parts. But please, take care and respect, that the cuda-technology is not present in any devices. When you like to use OpenCL, you should understood the ways of this technology first. Nice to read about your phantasies around the compiling orgy. Without a great work, the jobs never will run faster.
In analoge way there is the reason the following:
Your line rotates a full and great image first, then resizes to final.
My line will first do rescale, then rotates (a smaller image).
What you think, that will be the fastest one?
Sometimes a combination decides around the fun-factor.
On my server i have an i7 CPU and a Radeon Cedar GPU. OS is Linux, stupids like php or mysql not installed. For what against?!
On my homeserver i have an Phenom II X4 CPU and 4 GTX-295 GPU´s in 2 Cards on SLi. OS will differ, sometimes Windows.
So you see, that the hardware differs extremly. A replicatable setup will not make more happy.
Now you can stay bored or think about alternatives. On booth (Linux & Windows) a chance is in Perl-Language. If there are ressources, you can detect and assimilate. The central process is a perl instance, which out you can call the console. So in the consoles will only run that required and after work, returns also the memorials (ressources). I do use this, to delegate specific parts of a great job. Not everyone is the pure use von Magick the fastest way. Inner Magick thats okay, but for the ill things i do, often too lame. Through PerlMagick you have an gimmick, that your work will make much more easy. Accessing Layers, work in Arrays and also the CUDA-Port. But the price will be, that you begin to lern programming...
http://blogs.perl.org/users/david_merte ... eased.html
The main part of Magick are the ways of manipulation algorithms. For the project the streaming-processor technology will be a chance. But first there must be created standards. Without - landing here, to get orientation...
If i only have 1 pic to convert, the minds are not required. But if i have thousands of pics to convert, i´ll think about every detail for a liquid workflow.