Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: Performance Issues - taking to much time to convert images

$
0
0
Hi dlemsta,

Thank you for you fast answer.
-Are you converting multiple images at the same time?
No we are converting one a time.
-Have you measured which part of your action is slow?
Well the think it is consuming 100% of the CPU. So take make it slowly. I dont now exactly what is causing it.
-Is it reading/writing of the image or is it the resize action?

if (img.Height > img.Width)
            {
                img.Resize(0, maxHeight);
            }
            else
            {
                img.Resize(maxWidth, 0);
            }
            img.Composite(wtmark, Gravity.Southeast, CompositeOperator.Atop);
-And what do you consider slow?
So it is slow when the cpu get the 100%.

Thanks, Cristian.

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>