com >> BMP to WMF conversion

by Ganesh Palaniappan » Wed, 12 Apr 2006 00:42:31 GMT

I would like to convert BMP to WMF or PNG to WMF. Can you please let me know
how to do that (any API available?).

Thanks in advance.

Ganz.




com >> BMP to WMF conversion

by Mike D Sutton » Wed, 12 Apr 2006 01:02:02 GMT


>I would like to convert BMP to WMF or PNG to WMF. Can you please let me

BMP is a raster based file format where as WMF is a raster based solution,
so the best you're going to get is to embed the BMP in the WMF.
This old post takes a screenshot and dumps it into an EMF file which is a
very similar process:
http://groups.google.co.uk/group/microsoft.public.vb.winapi/msg/17340cb07b69f813
Hope this helps,

Mike


- Microsoft Visual Basic MVP -
E-Mail: XXXX@XXXXX.COM
WWW: Http://EDais.mvps.org/





com >> BMP to WMF conversion

by Bob O`Bob » Thu, 13 Apr 2006 03:11:17 GMT





I think you meant "vector" that second time...



BMP to WMF conversion

by Lo Carre » Thu, 13 Apr 2006 19:44:02 GMT

Hello,

You can use this free Activex: http://www.gdpicture.com


Lo




--

Lo Carre

http://www.asi-concept.fr




BMP to WMF conversion

by Mike D Sutton » Thu, 13 Apr 2006 22:52:55 GMT

> I think you meant "vector" that second time...

Whoops, yup; should have been "vector based file format".
No idea where "raster based solution" came from, mind was wandering far, far away..

Mike


- Microsoft Visual Basic MVP -
E-Mail: XXXX@XXXXX.COM
WWW: Http://EDais.mvps.org/




BMP to WMF conversion

by jeff » Thu, 04 May 2006 15:50:42 GMT

Will GD Picture actually vectorize the image ?
ie - will it convert lines / rectangles in a raster image ( BMP or JPG
)
to lines or rectangles records in Vector image ( WMF ) ?

Ganesh - do you need such conversion ?
Or is it enough to put BMP / JPG as raster graphic object
within a WMF wrapper ?


* * Please include a copy of this message with your reply

Jeff Bennett
Jeff @ Bennet-Tec.Com

* Bennet-Tec Information Systems, Inc
* 50 Jericho Tpk, Jericho, NY 11753
* Phone 516 997 5596, Fax - 5597
* RELIABLE Components Make You Look Sharp!
* TList/Pro * ALLText HT/Pro * MetaDraw *
* Custom Software Development Services Too.
* WWW.Bennet-Tec.Com

=================== ===================



Similar Threads

1. Convert from JPG or 24-bit BMP to 256-color BMP using VB

I'm looking for a way to convert standard JPG or 24-bit BMP images to
256-color BMPs using VB code. GIF compatibility would be nice as well,
but not 100% needed. I have yet to sort out a way to do this, so any
help at all would be great. Please post back here and email me with any
assistance you may have.

2. VB Conversion Keywords And .NET Conversion Routines - VB.Net

3. WMF SDK VB .NET Code Sample

bzirk,

Have you looked at the managed sample WMFSDK9/samples/managed? It is a C#
sample, are you familiar with translating from C# to VB.NET?

The sample has two parts. The wrapper specifies the unmanaged datatypes and
how to marshal them. metadataedit uses the wrapper to make calls into the
unmanaged WMF code.

Conan

"bzirk" < XXXX@XXXXX.COM > wrote in message
news: XXXX@XXXXX.COM ...
> This perhaps is not the right group for this most, but I've not had much
luck
> getting responses in the WM SDK group.  Can anyone point me to a VB .Net
code
> sample that demonstrates the use of the WMF SDK objects and interface?
>
> Thanks,
>
> BZ


4. I need to open a WMF file from VB.NET - .NET Windows Forms

5. How do I Print a .wmf image?

How do I Print a .wmf image?

What I eventually need to do is print text over a pre-
rendered Windows Metafile Image.

I need to combine formatted text with the .wmf file in 
one print operation.

I'm able to do this in vb6 but get an invalid image type 
in .Net

Any help would be greatly appreciated

6. EMF, WMF query - VB.Net

7. Drawing.Bitmap.FromFile ever work for WMF files

I find Bitmap.Save works for WMF files but Bitmap.FromFile  does not.

If I use FromFile  on a WMF file that came with VS I get an exception.
If I use it on a WMF file created with Bitmap.Save I don't get an exception
but it appears the Bitmap is blank.



Can anyone share some knowledge on this?


Thanks,
Cal


8. How to Paste WMF from Clipboard - VB.Net