in article p05100304ba58c1ed5303@[192.168.1.14], Doug McNutt at [EMAIL PROTECTED] wrote on 25/01/2003 19:39:
> So you want to read a PICT file and convert it to coordinates with 8 bit > precision? Correct. As their origin are diverse, those files have different file formats (JPG, GIF, PICT), but I think it would be easier to deal with a single file format. Anyway, mostly are PICTs (screen captures). > The problem sounds interesting but it's not yet defined. Is the > PICT file limited to draw line commands with endpoints? Yes. Just to clear it up a bit more: -- All lines are perpendicular. -- Pictures are always closed, though their boundaries could be irregular, like this one: 0000 0000011000 0400412220 0444112000 05641320 000005663320 055566633000 0000005777390 0887779999a00 00888d9bbaaa0 000008dbbaa000 0dddbbccc0 0edffcc000 0eeefc00 000geefh0 0gggffh00 0gghhhh0 00000000 -- Also a PICT file may contain more than one picture (this is not common). Thanks for your interest. Ciao, Ricardo > At 17:54 -0300 1/25/03, Ricardo Montiel wrote: >> I need to convert lots of diagrams as the enclosed file to ASCII characters. >> For instance, the enclosed file should be converted as: >> >> 00000000 >> 01122230 >> SNIP >> 04456630 >> 00000000 > > ** Picture **