1. Concatenation!
- Posted by Eduardo Uemura Okada <cool at ART.COM.BR> Jul 04, 1997
- 759 views
Well, well, anyone, I am needing a hand here. 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? Waiting answer... Eduardo Uemura Okada cool at art.com.br
2. Re: Concatenation!
- Posted by "C. K. Lester" <cklester at FLASH.NET> Jul 04, 1997
- 774 views
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? I do that in my zonez.e program. It's on Irv's archive somewhere, I'm sure. Check it out.
3. Re: Concatenation!
- Posted by Daniel Berstein <architek at GEOCITIES.COM> Jul 04, 1997
- 757 views
- Last edited Jul 05, 1997
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
4. Re: Concatenation!
- Posted by Lucius L Hilley III <luciuslhilleyiii at JUNO.COM> Jul 05, 1997
- 753 views
On Fri, 4 Jul 1997 13:44:05 -0300 Eduardo Uemura Okada <cool at ART.COM.BR> writes: > >Well, well, anyone, I am needing a hand here. >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? > >Waiting answer... >Eduardo Uemura Okada >cool at art.com.br > To simple methods sequence list, bmp, many_bmps list = {"1.bmp", "2.bmp", "3.bmp",...} many_bmps = {} for a = 1 to length(list) do bmp = read_bitmap(list[a]) many_bmps = append(many_bmps, bmp) end for many_bmps no contains in order 1.bmp, 2.bmp, 3.bmp palettes included. ONLY one palette can be used at a time. If all palettes are the same then you can do this. sequence list, bmp, many_bmps, pal list = {"1.bmp", "2.bmp", "3.bmp",...} many_bmps = {} for a = 1 to length(list) do bmp = read_bitmap(list[a]) many_bmps = append(many_bmps, bmp[2])--bmp changed to bmp[2] if a = 1 then--get the palette from only the first bmp pal = bmp[1] end if end for --Lucius Lamar Hilley III -- E-mail at luciuslhilleyiii at juno.com -- I support transferring of files less than 60K. -- I can Decode both UU and Base64 format.