Hi,

A long time ago Bill, sent this message to the list.

I remember that I have tested it in Windows 98 / Visual Basic 6 and ImageMagick 5.4.9 and it run OK, but today I have tested it on Windows XP / Visual Basic 6 and ImageMagick 6.2.6 but it isn't run OK. Not show anything on Picturebox.

Can anyone say me if this piece of code still running on XP/IM 6.2.6 or may be I am making something wrong? Can anyone help me?

TIA.

Jorge Colaccini

PS: the original email attachs BlobSupport.zip file including PictureFromBits and PictureFromFile functions.


----- Original Message ----- From: "Bill Radcliffe" <[EMAIL PROTECTED]> To: "'Ami Shah'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[email protected]>
Sent: Saturday, September 28, 2002 2:32 PM
Subject: RE: [magick-users] Re: How to pass handle of the Image using Visual Basic using ImageMagickObject DLL


Here is something that has worked for me using a VB picture control. It took
awhile to figure this one out...

Dim img As MagickImage

Dim output() As Byte

Set img = New MagickImage
output = "JPEG:"
msgs = img.Convert("logo:", output)
picImage.Picture = PictureFromBits(output)

The code for PictureFromBits is attached. I have this all rolled into a nice sample app that remains unfinished as I wrestle Visual Studio build support
to the ground instead.

-----Original Message-----
From: Ami Shah [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 26, 2002 11:30 PM
To: [EMAIL PROTECTED]; [email protected]
Subject: RE: [magick-users] Re: How to pass handle of the Image using Visual
Basic using ImageMagickObject DLL

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to