Xref: utzoo comp.graphics:13430 alt.graphics.pixutils:262 Path: utzoo!attcan!uunet!shelby!apple!snorkelwacker!bloom-beacon!eru!hagbard!sunic!liuida!isy!lysator.liu.se!zap From: zap@lysator.liu.se (Zap Andersson) Newsgroups: comp.graphics,alt.graphics.pixutils Subject: Re: Help with unknown format Keywords: Graphic format Message-ID: <283@lysator.liu.se> Date: 19 Sep 90 13:52:14 GMT References: <3765@gara.une.oz.au> Sender: news@isy.liu.se (Lord of the News) Organization: Lysator Computer Club, Linkoping University, Sweden Lines: 32 plaplagn@gara.une.oz.au (Patrick Laplagne ECON) writes: >Hi. I have recently come across a graphic format which I can't figure out. All my attempts at viewing it have proven unsuccessful. Hopefully somebody can help. The initial file is in compressed format with the *.Z ending. When decompressed,its first few lines look like this: >#define noname_width 576 >#define noname_height 720 >static char noname_bits[] = { > 0xdd, 0x55, 0xdb, 0xb6, 0x6d, 0xb7, 0x6d, 0x6d, 0xdb, 0xb6, 0xb6, 0x6d, > 0x5b, 0x6b, 0xbb, 0x6d, 0xdb, 0xda, 0xfe, 0xff, 0xff, 0xdf, 0xff, 0xff, >...and so on. It is an ascii file. When transferred onto a PC, it will not let itself be opened as any of the common formats (including gif). I am doing something wrong? Thanks in advance for your answers and/or suggestions. Patrick. Obviously it's sourcecode in C for some kind of bitmap... try a program like for (y=0; y> 3] & (1 << (x % 8))) setpixel(x,y); Perpahps (x % 8) should be (7 - (x % 8)) depending on bitorder... compile and run, and have some phun... /Z -- * * * * * * * * * * * * * * * * * * My signature is smaller than * * yours! - zap@lysator.liu.se * * * * * * * * * * * * * * * * * * -- * * * * * * * * * * * * * * * * * * My signature is smaller than * * yours! - zap@lysator.liu.se * * * * * * * * * * * * * * * * * *