Re: Loading A Graphic Using CxImage From User Input

new topic     » goto parent     » topic index » view thread      » older message » newer message
ghaberek said...

Mic, the CXI_LoadImage() routine works two ways

Ahem:

-- CxImage wrapper for Euphoria 
-- /Mic, 2003 

so.. yeah :P

ghaberek said...

You can either feed it a filename or a buffer of a file in memory (in which case the third parameter should be the buffer size). The latter is useful for loading images from a database and such. But it seems Andy only needs to use the filename version, as his user is selecting a file via getOpenFileName(). -Greg

Yeah the reason I asked was because he never used the data he read from the file, at least not in the posted code. But a bigger problem is probably that the wrong variable seems to be passed as the filename to CXI_LoadImage.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu