None that I know of. Last time I tried this, I ended up shelling out to a
identify.exe commandline.

On Thu, Apr 10, 2008 at 1:56 AM, Florian Groothuis <
[EMAIL PROTECTED]> wrote:

>  Is there anyway to avoid this or to redirect this to a standard output
> file?
>
> Florian
>
>  ------------------------------
> *Van:* Ross Presser [mailto:[EMAIL PROTECTED]
> *Verzonden:* woensdag 9 april 2008 20:10
> *Aan:* Florian Groothuis
> *Onderwerp:* Re: [magick-users] ImageMagick and Magic
>
> As far as I can remember, the identify method of the COM object does not
> put all the identifying information into a return value; it tries to write
> it to standard output.  (Which is rather silly.)
>
> On Wed, Apr 9, 2008 at 9:31 AM, Florian Groothuis <
> [EMAIL PROTECTED]> wrote:
>
> > I'm trying to use ImageMagick from within an application written in
> > Magic (V9.4sp6b). I chose ImageMagick because it offers
> > COM+-compatibility. When I open the COM-interface in Magic (CallCom) I
> > have to fill arguments, return values and so on.
> >
> > *       I installed ImageMagick properly, it works on the command line
> >        and the Type Library is selectable in the list
> > *       I created and virtual (type=OLE, var=A, library=ImageMagick)
> > *       I create a new line, CallCom, Object=A,
> > option=CallMethod,Method=Identify, Arguments=???, ReturnValue=???
> > *       The problems are in the arguments and the return value. The
> > argument is of (external) type VT_Variant (R,A), Direction In/Out and
> > optional.
> > *       What do I send as argument? I tried: 'C:\tmp\image.jpg'
> > ,File2Blb('C:\tmp\image.jpg'), VariantCreate(8200,'C:\tmp\image.jpg').
> > In this last case I get no error but the return value is empty according
> > to the Flow Monitor.
> >
> > The Return Value is another issue. Type is VT_Variant and is also
> > optional.
> >
> > *       What is returned? I used an Virtual, Alpha255 as ReturnVariable,
> > but it stays empty.The Monitor reports "Returned Value:{VT_EMPTY}"
> > *       I used a blob as well. Same results.
> >
> > The image exists and on the command line it works fine.
> >
> > Florian
> > _______________________________________________
> > Magick-users mailing list
> > [email protected]
> > http://studio.imagemagick.org/mailman/listinfo/magick-users
> >
>
>
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to