home *** CD-ROM | disk | FTP | other *** search
Unknown | 1994-02-12 | 766 b |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| GW-BASIC (document/gwBasic)
| ext
| Supported |
66%
| dexvert
| GFA-BASIC Atari (other/gfaBASICAtari)
| ext
| Supported |
1%
| dexvert
| Amiga BASIC Protected File (other/amigaBASICProtectedFile)
| ext
| Unsupported |
1%
| dexvert
| BAS VBDOS Pro 1.0 Source (other/basVBDOSPro10Source)
| ext
| Unsupported |
1%
| dexvert
| Visual Basic Tokenized Source (other/visualBasicTokenizedSource)
| ext
| Unsupported |
1%
| dexvert
| ZBASIC (other/zbasic)
| ext
| Unsupported |
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| fa 02 00 00 0d 0a 27 20 | 43 6f 6e 76 65 72 74 20 |......' |Convert |
|00000010| 69 6d 61 67 65 20 74 6f | 20 31 36 20 67 72 61 79 |image to| 16 gray|
|00000020| 73 20 28 34 20 62 69 74 | 29 0d 0a 0d 0a 27 20 49 |s (4 bit|)....' I|
|00000030| 6e 70 75 74 3a 09 31 2d | 34 2d 38 2d 32 34 20 62 |nput:.1-|4-8-24 b|
|00000040| 69 74 0d 0a 27 20 4f 75 | 74 70 75 74 3a 09 34 20 |it..' Ou|tput:.4 |
|00000050| 62 69 74 2c 20 31 36 20 | 67 72 61 79 73 0d 0a 0d |bit, 16 |grays...|
|00000060| 0a 27 20 41 75 74 68 6f | 72 3a 09 41 6e 64 72 65 |.' Autho|r:.Andre|
|00000070| 61 20 42 65 6e 6f 6e 69 | 09 09 20 72 65 76 3a 09 |a Benoni|.. rev:.|
|00000080| 31 2e 32 0d 0a 0d 0a 0d | 0a 73 74 72 69 6e 67 20 |1.2.....|.string |
|00000090| 20 20 20 09 69 6e 70 46 | 69 6c 65 2c 6f 75 74 46 | .inpF|ile,outF|
|000000a0| 69 6c 65 0d 0a 44 65 76 | 43 6f 6e 09 49 62 6d 70 |ile..Dev|Con.Ibmp|
|000000b0| 2c 4f 62 6d 70 0d 0a 52 | 47 42 09 70 69 78 0d 0a |,Obmp..R|GB.pix..|
|000000c0| 66 6c 6f 61 74 20 20 09 | 78 2c 79 0d 0a 0d 0a 69 |float .|x,y....i|
|000000d0| 6e 70 46 69 6c 65 3d 47 | 65 74 46 69 6c 65 4e 61 |npFile=G|etFileNa|
|000000e0| 6d 65 28 22 46 69 6c 65 | 20 74 6f 20 63 6f 6e 76 |me("File| to conv|
|000000f0| 65 72 74 20 3f 22 29 0d | 0a 6f 75 74 46 69 6c 65 |ert ?").|.outFile|
|00000100| 3d 47 65 74 46 69 6c 65 | 4e 61 6d 65 28 22 4f 75 |=GetFile|Name("Ou|
|00000110| 74 70 75 74 20 46 69 6c | 65 20 3f 22 29 0d 0a 0d |tput Fil|e ?")...|
|00000120| 0a 49 62 6d 70 3d 4c 6f | 61 64 49 6d 61 67 65 28 |.Ibmp=Lo|adImage(|
|00000130| 69 6e 70 46 69 6c 65 29 | 09 09 09 09 27 20 6c 6f |inpFile)|....' lo|
|00000140| 61 64 20 69 6e 70 75 74 | 20 69 6d 61 67 65 0d 0a |ad input| image..|
|00000150| 4f 62 6d 70 3d 43 72 65 | 61 74 65 49 6d 61 67 65 |Obmp=Cre|ateImage|
|00000160| 28 49 62 6d 70 2e 57 69 | 64 74 68 2c 49 62 6d 70 |(Ibmp.Wi|dth,Ibmp|
|00000170| 2e 48 65 69 67 68 74 2c | 34 29 09 09 27 20 63 72 |.Height,|4)..' cr|
|00000180| 65 61 74 65 20 31 36 20 | 67 72 61 79 73 20 6f 75 |eate 16 |grays ou|
|00000190| 74 70 75 74 20 69 6d 61 | 67 65 0d 0a 0d 0a 46 6f |tput ima|ge....Fo|
|000001a0| 72 20 79 3d 30 20 74 6f | 20 49 62 6d 70 2e 48 65 |r y=0 to| Ibmp.He|
|000001b0| 69 67 68 74 2d 31 0d 0a | 20 20 20 69 66 28 79 25 |ight-1..| if(y%|
|000001c0| 31 30 3d 30 29 0d 0a 20 | 20 20 20 20 20 44 73 70 |10=0).. | Dsp|
|000001d0| 57 68 69 6c 65 28 22 54 | 6f 20 31 36 20 67 72 61 |While("T|o 16 gra|
|000001e0| 79 73 22 2c 31 30 30 2f | 20 49 62 6d 70 2e 48 65 |ys",100/| Ibmp.He|
|000001f0| 69 67 68 74 2a 79 29 0d | 0a 20 20 20 20 20 20 50 |ight*y).|. P|
|00000200| 72 65 76 69 65 77 28 4f | 62 6d 70 2c 22 43 4e 56 |review(O|bmp,"CNV|
|00000210| 31 36 47 52 59 22 2c 34 | 34 30 2c 35 30 29 0d 0a |16GRY",4|40,50)..|
|00000220| 20 20 20 65 6e 64 69 66 | 0d 0a 20 20 20 46 6f 72 | endif|.. For|
|00000230| 20 78 3d 30 20 74 6f 20 | 49 62 6d 70 2e 57 69 64 | x=0 to |Ibmp.Wid|
|00000240| 74 68 2d 31 09 09 09 09 | 0d 0a 20 20 20 20 20 20 |th-1....|.. |
|00000250| 70 69 78 3d 47 65 74 50 | 69 78 65 6c 28 49 62 6d |pix=GetP|ixel(Ibm|
|00000260| 70 2c 78 2c 79 29 09 09 | 09 09 27 20 67 65 74 20 |p,x,y)..|..' get |
|00000270| 6f 72 69 67 20 70 69 78 | 65 6c 0d 0a 20 20 20 20 |orig pix|el.. |
|00000280| 20 20 53 65 74 50 69 78 | 65 6c 28 4f 62 6d 70 2c | SetPix|el(Obmp,|
|00000290| 78 2c 79 2c 70 69 78 29 | 09 09 09 09 27 20 70 75 |x,y,pix)|....' pu|
|000002a0| 74 20 70 69 78 65 6c 20 | 6f 6e 20 6f 75 74 70 75 |t pixel |on outpu|
|000002b0| 74 20 69 6d 61 67 65 0d | 0a 20 20 20 4e 65 78 74 |t image.|. Next|
|000002c0| 20 78 0d 0a 4e 65 78 74 | 20 79 0d 0a 0d 0a 53 61 | x..Next| y....Sa|
|000002d0| 76 65 49 6d 61 67 65 28 | 4f 62 6d 70 2c 6f 75 74 |veImage(|Obmp,out|
|000002e0| 46 69 6c 65 29 09 09 09 | 09 27 20 73 61 76 65 20 |File)...|.' save |
|000002f0| 6f 75 74 70 75 74 20 69 | 6d 61 67 65 0d 0a |output i|mage.. |
+--------+-------------------------+-------------------------+--------+--------+