[Solved] -quiet doesn't desactivate warning in COM+ Object

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
vincent-angel

[Solved] -quiet doesn't desactivate warning in COM+ Object

Post by vincent-angel »

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
Last edited by vincent-angel on 2008-02-07T15:19:07-07:00, edited 1 time in total.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: the option -quiet doesn't desactivate warning in COM+ object

Post by magick »

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.
vincent-angel

Re: the option -quiet doesn't desactivate warning in COM+ object

Post by vincent-angel »

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) :

Code: Select all

msgs = img.Convert("logo:","-format","%m,%h,%w","logo.jpg")
by

Code: Select all

msgs = img.Convert("-quiet","c:\test\002.tif","c:\test\ok.png")
and i have the same error :

Image

but it's ok in the command line, as you can see (with and without the -quiet option)

Image

i hope it can help

thank you for your time

best regards

Vincent
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: the option -quiet doesn't desactivate warning in COM+ object

Post by magick »

Download ImageMagick 6.3.8-5. It has a patch to safely ignore TIFF warnings.
vincent-angel

Re: the option -quiet doesn't desactivate warning in COM+ object

Post by vincent-angel »

magick wrote:Download ImageMagick 6.3.8-5. It has a patch to safely ignore TIFF warnings.
My god it's WONDERFUL !

Very big thanks to all developpers :D

PROBLEM SOLVED !!!
Post Reply