Imagemaigck limits

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
marshc2
Posts: 1
Joined: 2015-06-08T03:44:23-07:00
Authentication code: 6789

Imagemaigck limits

Post by marshc2 »

Hi

I am new to imagemagick but have an issue using the IM with Ms Office VBA

I am extracting PDF attachments using VBA and then converting them to Tiff using IM. I am converting the PDF's then running Mogrify to compress the files down.
I have had a 2 PDf documents that have taken an age to convert with the Original files size of 502KB and the converted file being 526MB. I was trying to use Limit time set to 30 secs so if I have a file that takes to long the process is killed. The only issue is that it seems to continue counting after a file has been converted so if I have a number of emails and it runs through these, After 30 secs the process is killed.

I'm trying to find out how I can have the limit set to 30 secs and then stop and rest after each conversion. is this possible.
Post Reply