1. Beginner needing some help... HELP ME!
- Posted by Eduardo Uemura Okada <cool at ART.COM.BR> Jul 09, 1997
- 821 views
Hi to all, I have a doubt (Who don't have?) that could be nothing to you, but to me is a lot of trouble... I need to do appear in a background, a little drawing. The drawing I did (using MSPaint of windows 95), and with help of some of you I could put it in a black background. But here is the question... if my image has a palette, how to put the background, without turn the colors of each individual palette? Please, don't be angry with me, I am just a beginner, trying to understand better the things... Eduardo Uemura Okada e-mail: cool at art.com.br
2. Re: Beginner needing some help... HELP ME!
- Posted by The Reaper <reaper at LOKI.ATCON.COM> Jul 09, 1997
- 795 views
At 10:29 AM 7/9/97 -0300, you wrote: > Hi to all, I have a doubt (Who don't have?) that could be nothing to you, >but to me is a lot of trouble... > I need to do appear in a background, a little drawing. The drawing I did >(using MSPaint of windows 95), and with help of some of you I could put it >in a black background. But here is the question... if my image has a >palette, how to put the background, without turn the colors of each >individual palette? > Please, don't be angry with me, I am just a beginner, trying to understand >better the things... I lost you a little on that question. Doesn't MSPaint use the same palette for ALL of it's drawings? If not, then you will have to add the colors of the little drawing into any blank spaces in the background's palette. I am not sure how to do this in Paint. (help him, Packard, you're the Palette Man!) =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= The Reaper (J. Lays) http://www.geocities.com/TimesSquare/Alley/4444/ reaper at auracom.com Check out my Euphoria Games page at: -= http://www.geocities.com/TimesSquare/Alley/4444/eugames.html ........................ . .. -||..........__...... "If a demon wore wings, . / ||......../-- \\.:::: Would it be called a angel? . ..| ||...... / | |.::: Or are they the people we know, .| _-||.......|| / /.:::: Of whom we mingle?" ..| |..||...... -\_- \ |\-.::: .| |.[< \ .../ \.:: .||.|||\|\ | - - . \.:::: ...|.\|| | \ | | |.:::. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
3. Re: Beginner needing some help... HELP ME!
- Posted by Ralf Nieuwenhuijsen <nieuwen at POP.XS4ALL.NL> Jul 09, 1997
- 801 views
> Hi to all, I have a doubt (Who don't have?) that could be nothing to you, > but to me is a lot of trouble... > I need to do appear in a background, a little drawing. The drawing I did > (using MSPaint of windows 95), and with help of some of you I could put it > in a black background. But here is the question... if my image has a > palette, how to put the background, without turn the colors of each > individual palette? I don't exactly understand what you mean.. but i guess the only wanted effect i can come up with is that the colors should look the same in your program as in MSPaint (PS There are a lot better (but shareware) drawing tools, like Paint Shop Pro, just search with Excite (the best & smartest, it can *learn*, it is almost AI)) Here some example code: --------------------- ThE CoDe ------------- ~<~<~<~<~<~@ (cool rose) include graphics.e -- Graphics mode support include image.e -- Image sequence manipulation if graphics_mode (19) then puts(1,"GET A DESCENT VIDEO CARD, Fred...\n") abort(1) end if object my_image my_image = read_bmp ("my_image.bmp") if atom(my_image) then puts(1,"Error loading image!!!\n") abort (1) end if all_palette (my_image[1]/4) -- 256 to 64 color levels display_image ({0,0},my_image[2]) ------------------------------------------------ <o^o> (auto) This will display "my_image.bmp" with the right colors!! But you MUST save your pictures with 256 colors or less, so not a windows zillion colors way incompatible bitmap !!! > Please, don't be angry with me, I am just a beginner, trying to understand > better the things... Its about someone's intentions and thinking that makes a person BAD, not his intelligence nor his knowledge... any1 disagreeing will someday meet some1 smarter then him and it will make him feel LOW.... So you shouldn't worry... asking for help is a sign of respect... Glad to help you.. Ralf Nieuwenhuijsen nieuwen at xs4all.nl
4. Re: Beginner needing some help... HELP ME!
- Posted by Ad Rienks <Ad_Rienks at COMPUSERVE.COM> Jul 09, 1997
- 823 views
You wrote: > Please, > don't be angry with me, I am just a beginner, trying to understand > better the things... Aren't we all trying to understand better the things? Ad
5. Re: Beginner needing some help... HELP ME!
- Posted by Daniel Berstein <danielberstein at USA.NET> Jul 09, 1997
- 831 views
> I need to do appear in a background, a little drawing. The drawing I did > (using MSPaint of windows 95), and with help of some of you I could put it > in a black background. But here is the question... if my image has a > palette, how to put the background, without turn the colors of each > individual palette? One choice is to make all of your images with the same palette (if you use always the same drawing program, you have a good chance of achieving this), but take care of wich color (number) is "BLACK" in your image, then use that color as backgroud. Another choice would be to create several 16 color images and display them in a 256 color mode. Because each image has just 16 colors you could "map" their palettes into de 256 color mode. > Please, don't be angry with me, I am just a beginner, trying to understand > better the things... For you and other beginners (and future ones): This listserver is (in my point of view) the place where ALL euphoria programmers (begeinners, experts, pros) can ask, share and enjoy other people solutions... I'll (and I think all of us) never get angry with someone asking for help about Euphoria. Regards, Daniel Berstein danielberstein at usa.net http://www.geocities.com/SiliconValley/Heights/9316