1. RE: simple question
- Posted by Brian Broker <bkb at cnw.com> Aug 12, 2002
- 435 views
Probably too many colors if you are working with DOS. The solution is simple: save your bitmaps as 256 colors. To do this with mspaint, do 'Save as' and it will allow you to select a 'Save as type' where you pick '256 color bitmap'. Also note that the color conversion / color matching routine in mspaint is poor so your picture usually won't look the same if you start in 24-bit color then later save as 8-bit color. To get around that, just start by saving your blank picture as 256-color before you even start working on it. That way you can be sure that what you save is going to look exactly as you created it. -- Brian dubetyrant wrote: > Hi, > This should be an easy question for someone who has > been coding in euphoria for a while: > > How can I make sure my bitmaps are in a supported format? > I get error 3-unsupported format when I try to read my > bitmaps in,yet I read in bitmaps that I got from the archive > and they work fine.I don't know how to make my bitmaps > 256 colors.I am using windows pro(NT) "paintbrush" application. > I found a way to trick the interpreter into taking my bitmaps, > I save an image as a bitmap,then go paint on it.But this is > the long route.I want to just: > x=read_bitmap(st) > > Once again,I am able to bring bitmaps in easily that I > got from programs I downloaded from the archive.So I > know that it is not the way Im coding it.Its just that > my bitmaps from my windows paint program have an > unsupported format(maybe they use too many colors) > > Does anyone know? > >
2. RE: simple question
- Posted by dubetyrant at hotmail.com Aug 13, 2002
- 430 views
That was it!Thanks alot! >From: Brian Broker <bkb at cnw.com> >Subject: RE: simple question > > >Probably too many colors if you are working with DOS. The solution is >simple: save your bitmaps as 256 colors. To do this with mspaint, do >'Save as' and it will allow you to select a 'Save as type' where you >pick '256 color bitmap'. > >Also note that the color conversion / color matching routine in mspaint >is poor so your picture usually won't look the same if you start in >24-bit color then later save as 8-bit color. To get around that, just >start by saving your blank picture as 256-color before you even start >working on it. That way you can be sure that what you save is going to >look exactly as you created it. > >-- Brian > > >dubetyrant wrote: > > Hi, > > This should be an easy question for someone who has > > been coding in euphoria for a while: > > > > How can I make sure my bitmaps are in a supported format? > > I get error 3-unsupported format when I try to read my > > bitmaps in,yet I read in bitmaps that I got from the archive > > and they work fine.I don't know how to make my bitmaps > > 256 colors.I am using windows pro(NT) "paintbrush" application. > > I found a way to trick the interpreter into taking my bitmaps, > > I save an image as a bitmap,then go paint on it.But this is > > the long route.I want to just: > > x=read_bitmap(st) > > > > Once again,I am able to bring bitmaps in easily that I > > got from programs I downloaded from the archive.So I > > know that it is not the way Im coding it.Its just that > > my bitmaps from my windows paint program have an > > unsupported format(maybe they use too many colors) > > > > Does anyone know? > > > > > > >