Imagemaigck limits
Posted: 2015-06-08T04:01:04-07:00
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.
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.