Re: Is it possible to take that ugly border out ?
- Posted by Lucius L Hilley III <luciuslhilleyiii at JUNO.COM> Apr 18, 1997
- 1144 views
On Wed, 18 Sep 1996 21:01:12 -0300 Ricardo Niederberger Cabral <rnc at INFOLINK.COM.BR> writes: > I mean: How can I clean that frame that appears around the >graphics >screen (I think the color of the frame change acording to the palette) >? > I think someone told how to do it a long time ago, but I can't >find >this message anymore... > > Thanks, >--- >Ricardo Niederberger Cabral >http://www.geocities.com/TimesSquare/1210 > palette index 17 which is palette color 16 is the border culprit. Quick fix is -------------------------- --color = 16 --palette[color + 1] = {0, 0, 0} palette[17] = {0, 0, 0} all_palette(palette / 4) -------------------------- What should be done is. --------------------------- Remap all references to 16 in the image to an unused palette color then copy palette[16+1] to palette[unused_color + 1]. palette[unused+1] = palette[17] After that, set palette[16+1] to black {0, 0, 0} palette[17] = {0, 0, 0} --------------------------- --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.