home *** CD-ROM | disk | FTP | other *** search
/ Best Tools for JAVA / Best Tools for JAVA.iso / GRAPHICS / BMPWIZ / BMPWIZ.ZIP / SCAL8RGB.BAS < prev    next >
Unknown  |  1994-12-29  |  536 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.

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert GW-BASIC (document/gwBasic) ext Supported
66% dexvert GFA-BASIC Atari (other/gfaBASICAtari) ext Supported
1% dexvert Memotech MTX BASIC source (document/memotechMTXBASICSource) ext Unsupported
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| 14 02 00 00 0d 0a 27 20 | 20 52 47 42 20 72 61 6e |......' | RGB ran|
|00000010| 67 65 2e 0d 0a 0d 0a 66 | 6c 6f 61 74 09 78 2c 79 |ge.....f|loat.x,y|
|00000020| 2c 58 73 69 7a 65 2c 59 | 73 69 7a 65 0d 0a 44 65 |,Xsize,Y|size..De|
|00000030| 76 43 6f 6e 09 69 6d 67 | 0d 0a 52 47 42 09 70 69 |vCon.img|..RGB.pi|
|00000040| 78 0d 0a 0d 0a 58 73 69 | 7a 65 3d 32 35 36 0d 0a |x....Xsi|ze=256..|
|00000050| 59 73 69 7a 65 3d 32 35 | 36 0d 0a 0d 0a 69 6d 67 |Ysize=25|6....img|
|00000060| 3d 43 72 65 61 74 65 49 | 6d 61 67 65 28 58 73 69 |=CreateI|mage(Xsi|
|00000070| 7a 65 2c 59 73 69 7a 65 | 2c 38 29 0d 0a 46 6f 72 |ze,Ysize|,8)..For|
|00000080| 20 79 3d 30 20 74 6f 20 | 32 35 35 0d 0a 20 20 20 | y=0 to |255.. |
|00000090| 70 69 78 2e 52 65 64 3d | 69 6e 74 28 79 2f 31 36 |pix.Red=|int(y/16|
|000000a0| 29 2a 31 36 0d 0a 20 20 | 20 70 69 78 2e 47 72 65 |)*16.. | pix.Gre|
|000000b0| 65 6e 3d 32 35 35 2d 70 | 69 78 2e 52 65 64 0d 0a |en=255-p|ix.Red..|
|000000c0| 20 20 20 70 69 78 2e 42 | 6c 75 65 3d 79 25 31 36 | pix.B|lue=y%16|
|000000d0| 2a 31 36 0d 0a 20 20 20 | 53 65 74 50 61 6c 65 74 |*16.. |SetPalet|
|000000e0| 74 65 28 69 6d 67 2c 79 | 2c 70 69 78 29 0d 0a 4e |te(img,y|,pix)..N|
|000000f0| 65 78 74 20 79 0d 0a 0d | 0a 46 6f 72 20 79 3d 30 |ext y...|.For y=0|
|00000100| 20 74 6f 20 59 73 69 7a | 65 2d 31 0d 0a 20 20 20 | to Ysiz|e-1.. |
|00000110| 44 73 70 57 68 69 6c 65 | 28 22 43 72 65 61 74 69 |DspWhile|("Creati|
|00000120| 6e 67 20 52 47 42 20 72 | 61 6e 67 65 22 2c 31 30 |ng RGB r|ange",10|
|00000130| 30 2f 59 73 69 7a 65 2a | 79 29 0d 0a 20 20 20 46 |0/Ysize*|y).. F|
|00000140| 6f 72 20 78 3d 30 20 74 | 6f 20 58 73 69 7a 65 2d |or x=0 t|o Xsize-|
|00000150| 31 0d 0a 20 20 20 20 20 | 20 70 69 78 2e 52 65 64 |1.. | pix.Red|
|00000160| 3d 32 35 36 2d 78 0d 0a | 20 20 20 20 20 20 70 69 |=256-x..| pi|
|00000170| 78 2e 47 72 65 65 6e 3d | 78 0d 0a 20 20 20 20 20 |x.Green=|x.. |
|00000180| 20 70 69 78 2e 42 6c 75 | 65 3d 79 0d 0a 20 20 20 | pix.Blu|e=y.. |
|00000190| 20 20 20 20 20 53 65 74 | 50 69 78 65 6c 28 69 6d | Set|Pixel(im|
|000001a0| 67 2c 78 2c 79 2c 70 69 | 78 29 0d 0a 20 20 20 4e |g,x,y,pi|x).. N|
|000001b0| 65 78 74 20 78 0d 0a 4e | 65 78 74 20 79 0d 0a 44 |ext x..N|ext y..D|
|000001c0| 73 70 57 68 69 6c 65 28 | 22 22 2c 30 29 0d 0a 0d |spWhile(|"",0)...|
|000001d0| 0a 27 53 61 76 65 49 6d | 61 67 65 28 69 6d 67 2c |.'SaveIm|age(img,|
|000001e0| 22 54 65 73 74 6f 2e 62 | 6d 70 22 29 0d 0a 0d 0a |"Testo.b|mp")....|
|000001f0| 50 72 65 76 69 65 77 28 | 69 6d 67 2c 22 4f 75 74 |Preview(|img,"Out|
|00000200| 70 75 74 22 2c 35 2c 35 | 29 0d 0a 44 73 70 4d 65 |put",5,5|)..DspMe|
|00000210| 73 28 22 45 6e 64 22 29 | |s("End")| |
+--------+-------------------------+-------------------------+--------+--------+