Re: Concatenation!

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

Eduardo Uemura Okada wrote:

> Like a unexperient programmer in Euphoria, and a dedicated begginer, I want
> to concatenate BMPs in just one file, that can be readable to my programs.
> I try and I try and I can't... :( Anyone can explain me a metod to do it?

        An easy way would be:

        sequence image_1, image_2, mixed_image

        image_1=read_bitmap("....")
        image_2=read_bitmap("....")

        mixed_image={"",""}
        mixed_image[1]=image_1
        mixed_image[2]=image_2

        -- Now you have both images in the sequence mixed_image.
        -- mixed_image[1] and [2] holds the respective image (and
        -- their palette).

--
Regards,
        Daniel Berstein
        architek at geocities.com
        http://www.geocities.com/SiliconValley/Heights/9316

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

Search



Quick Links

User menu

Not signed in.

Misc Menu