Re: Win32Lib How To?

new topic     » goto parent     » topic index » view thread      » older message » newer message

----- Original Message ----- 
From: "C. K. Lester" <cklester at yahoo.com>
To: "EUforum" <EUforum at topica.com>
Subject: RE: Win32Lib How To?


> 
> 
> Derek Parnell wrote:
> 
> > If you don't wish to do this, you need to convert
> > the bitmap into an XPM format and then embed that
> > in your code, which would then use it rather than
> > the original bitmap file. This only works for
> > bitmaps up to 256 colors. 
> > 
> > Unfortunately I don't have any utilitities to do
> > this sort of conversion of bitmaps to XPM format.
> 
> LOL! hmmmmm...
> 
> Well, I found this handy little library called Win32Lib. I read in the 
> HTML docs a section on using XPMs. In fact, there's a function or two, 
> namely, createXpm ( filename, euphoria bitmap ) and createXpmFromBmpFile 
> ( filename, euphoria bitmap ). Seems like they would help me convert 
> BMPs to XPMs...! :P
> 
> I don't know if they actually work. 

They do, but they work with EUPHORIA bitmaps and not Microsoft Bitmaps.

>I used Paint Shop Pro to convert the bitmap to XPM. 

Excellent. I thought there might be something out there.

>Now I just have to get it displayed in the window and 
> I'll be able to release the next version of my proggie!!!

The win32lib routines for XMP seem to work just fine so I guess you'll be okay.
Howevewr if your aim is to reduce size, then XMP can be just as big or bigger
than the equivalent BMP.
 
-- 
Derek

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu