Hi everybody,
Related to my post (viewtopic.php?f=1&t=10414), the option -quiet must desactivate all warning.
This case is with tiff file which have tiff tag problem.
with the batch tool 'convert' in dos/shell box, all is ok and work perfect.
But with the COM+ object, the option -quiet doesn't desactivate tiff tag warning so applications calling this object crash.
You can find tiff file with tag missing here : http://vincent.angel.free.fr/IM/
You can try this very easy example :
MyObject>>convert("-quiet","C:\002.tif","C:\test.png")
or
MyObject>>convert("-quiet","-adjoin","C:\002.tif","C:\003.tif","C:\tifmultipage.tif")
Thanks to all developpers
Regards
[Solved] -quiet doesn't desactivate warning in COM+ Object
[Solved] -quiet doesn't desactivate warning in COM+ Object
Last edited by vincent-angel on 2008-02-07T15:19:07-07:00, edited 1 time in total.
Re: the option -quiet doesn't desactivate warning in COM+ object
Did you check to ensure all versions of ImageMagick was removed from your system before you installed 6.3.8-4? If the -quiet options works from the command line it should work from COM+ as well.
Re: the option -quiet doesn't desactivate warning in COM+ object
Yes i had uninstall all previous version before. But, since i read your message, i have done 2 others tests :
On the same computer : i unregister the DLL (regsvr32 /u /s ImageMagickObject.dll), i uninstall imagemagick, i unregister the DLL (paranoiak mode ), i reboot, i install imagemagick, i reboot --> same issue
On a new computer witch not have any version of IM : i install and same issue.
The two computer work with Windows XP SP2 (French).
My program is done with Windev and give me these errors when it crash :
'Erreur 80041771 : convert: 350: C:\Test\001.tif: unknown field with tag 317 (0x13d) encountered. `TIFFReadDirectory':
so i try with a vbs script :
i only change this line (in simpletest.vbs) :by
and i have the same error :
but it's ok in the command line, as you can see (with and without the -quiet option)
i hope it can help
thank you for your time
best regards
Vincent
On the same computer : i unregister the DLL (regsvr32 /u /s ImageMagickObject.dll), i uninstall imagemagick, i unregister the DLL (paranoiak mode ), i reboot, i install imagemagick, i reboot --> same issue
On a new computer witch not have any version of IM : i install and same issue.
The two computer work with Windows XP SP2 (French).
My program is done with Windev and give me these errors when it crash :
'Erreur 80041771 : convert: 350: C:\Test\001.tif: unknown field with tag 317 (0x13d) encountered. `TIFFReadDirectory':
so i try with a vbs script :
i only change this line (in simpletest.vbs) :
Code: Select all
msgs = img.Convert("logo:","-format","%m,%h,%w","logo.jpg")
Code: Select all
msgs = img.Convert("-quiet","c:\test\002.tif","c:\test\ok.png")
but it's ok in the command line, as you can see (with and without the -quiet option)
i hope it can help
thank you for your time
best regards
Vincent
Re: the option -quiet doesn't desactivate warning in COM+ object
Download ImageMagick 6.3.8-5. It has a patch to safely ignore TIFF warnings.
Re: the option -quiet doesn't desactivate warning in COM+ object
My god it's WONDERFUL !magick wrote:Download ImageMagick 6.3.8-5. It has a patch to safely ignore TIFF warnings.
Very big thanks to all developpers
PROBLEM SOLVED !!!