[magick-users] Magick++ with QT
Manoj Agrawal
manoj.a at embitel.com
Wed May 14 04:10:53 PDT 2008
Hi,
I tried setting the environment variable MAGICK_DEBUG to cache and to my
surprise it took even more time!!! Here is the log file produced for the
same image (1024x768) before and after setting the environment variable:
*Before*
ConvertImageToPixmap (C:/Sample Images2/Rajasthan Royals Muscot.jpg):
Start converting Image to Pixmap:16:23:27.781
ConvertImageToPixmap (C:/Sample Images2/Rajasthan Royals Muscot.jpg):
Writing to blob:16:23:27.796
ConvertImageToPixmap (C:/Sample Images2/Rajasthan Royals Muscot.jpg):
Creating bytearray:16:23:29.375
ConvertImageToPixmap (C:/Sample Images2/Rajasthan Royals Muscot.jpg):
Loading pixmap from bytearray:16:23:29.375
ConvertImageToPixmap (C:/Sample Images2/Rajasthan Royals Muscot.jpg):
End converting Image to Pixmap:16:23:29.875
*After*
ConvertImageToPixmap (C:/Sample Images2/Rajasthan Royals Muscot.jpg):
Start converting Image to Pixmap:16:31:23.609
ConvertImageToPixmap (C:/Sample Images2/Rajasthan Royals Muscot.jpg):
Writing to blob:16:31:23.609
ConvertImageToPixmap (C:/Sample Images2/Rajasthan Royals Muscot.jpg):
Creating bytearray:16:31:56.843
ConvertImageToPixmap (C:/Sample Images2/Rajasthan Royals Muscot.jpg):
Loading pixmap from bytearray:16:31:56.843
ConvertImageToPixmap (C:/Sample Images2/Rajasthan Royals Muscot.jpg):
End converting Image to Pixmap:16:31:57.328
You can notice the time writing image to Blob is approx. 1:400 secs
before making the setting and it is approx 23 secs after making the
setting!!!
Please advice, how can I improve this time consuming process??
Regards,
Manoj
duc.sequere.aut.de.via.decede at imagemagick.org wrote:
>> while writing image to Blob is too slow
>>
>
> Odd, we read and write 4096x4096 images in sub-second time.
> If you get a chance, download ImageMagick 6.4.1-2 Beta from
> ftp://magick.imagemagick.org/pub/ImageMagick/beta. This pending release
> has a refactored pixel processor that is probably as fast as its ever
> going to get. Also, set the environment variable MAGICK_DEBUG to "cache"
> to ensure the pixel cache is in memory, not disk. A disk pixel cache
> is expected to be slow.
>
>
>
--
Manoj Agrawal
Project Lead
Embitel / dmc systems India Pvt. Ltd.
#2, Ground Floor Gamma Tower,
Whitefield Main Road,
Varthur Kodi, Bangalore – 560066
Phone: +91 80 41694214
Cell : +91 99016 11388
URL: http://www.embitel.com, http://www.collago.com
More information about the Magick-users
mailing list