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

New Post: All ImageMagick commands take a long time

$
0
0
Hello,

i will resize my images with ImageMagick.
in my c# (vs 2010) projekt have a link to "Magick.NET-Q8-x64.dll"

and my using is:
using IM = ImageMagick;

my c# code is:
    using (IM.MagickImage resized = new IM.MagickImage(@"C:\Temp\A.jpg"))
            {
                IM.MagickGeometry size = new IM.MagickGeometry(1920, 5000);
                size.Greater = true;
                resized.Resize(size);
                resized.Write(@"C:\Temp\A Resize.jpg");
            }
the code is running, but it takes a long time.
ImageMagick needs 7 sec for any search.
Is there a way to get around this?
Here is the log for the decisive point:

2016-08-13T13:20:00+02:00 0:00.957 0.969u 7.0.2 Trace: utility.c/GetPathComponen /1213/Trace ....\ImageMagick\MagickCore\blob.c

2016-08-13T13:20:07+02:00 0:07.493 7.516u 7.0.2 Trace: image.c/GetImageInfo/1343/Trace ...

Can I do anything about it?
verry thanks...

Regards,
Oliver

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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