CodeBase - Picture recreation

Return to the CodeBase listing

Category: Bitmap

Version: 1.0

0
0

Information

Uploaded: 16th Sep 2007 05:59

Modified: 16th Oct 2007 07:51

Author:  demons breath

Summary

This code creates a text file with all the commands to recreate an image. You then just copy all the text in the file into your programme.

Full Description

I created this for TDK's DBC Challenge because no external media's allowed. Turns out it's &quot;against the spirit of the challenge&quot; but I thought someone might find a use for it. Plus I just wanted to contribute so I could act useful :p<br /> <br /> Please feel free to mock this if it's really as pointless as it may actually be.<br /> <br /> It takes a while, but you get pixel-by-pixel recreation of any bitmap you load, including all the commands. it creates a text file that looks something like this...<br /> <br /> <br /> ink 6972762,0 : dot 0,0 : ink 5393473,0 : dot 0,1 : ink 3748913,0 : dot 0,2 : ink 4863033,0 : dot 0,3 : ink 4863033,0 : dot 0,4 : ink 5394506,0 : dot 0,5 : ink 3224625,0 : dot 0,6 : ink 4274225,0 : dot 0,7<br /> ink 3748905,0 : dot 0,8 : ink 4274225,0 : dot 0,9 : ink 5391417,0 : dot 0,10 : ink 6971722,0 : dot 0,11 : ink 6971722,0 : dot 0,12 : ink 7562578,0 : dot 0,13 : ink 8614234,0 : dot 0,14 : ink 6447434,0 : dot 0,15<br /> <br /> <br /> <br /> ... and so on and so forth...

Comments

No comments yet.