Posted: Sat Jan 15, 2005 8:52 pm Post subject: [Graphics] Scratch
I got a bit inspired today...and made this. It's not all that amazing, but meh. It's been a while since I last coded anything...
Anyhow, it runs off my Lens Filter engine, which some of you may remember from a bit back...and adds a little...scratch to it .
Enjoy...
BTW, keep in mind that
1) the input part is very much crashable...whipped up in the last five minutes, so don't expect it to be nice
2) resultant images are in 256-colour format - thank OOT for that...
Scratch.zip
Description:
PM if you need alternate formats (.rar, .ace etc).
Posted: Sat Jan 15, 2005 10:56 pm Post subject: (No subject)
What is the default directory?
zomg
Posted: Sat Jan 15, 2005 11:02 pm Post subject: (No subject)
sport wrote:
What is the default directory?
it works cool but i have to keep pushing close and then click no
thats the only way it works for me anyway that pretty kewl for turing
*default directory is the directory that the exe file is in
sport
Posted: Sat Jan 15, 2005 11:08 pm Post subject: (No subject)
I got it it's the one where the file is located. But I get an error
New Bitmap Image.bmp
Description:
Error message
Filesize:
800.02 KB
Viewed:
2305 Time(s)
Delos
Posted: Sun Jan 16, 2005 10:03 am Post subject: (No subject)
Hmm...I'm guessing your trying to load a pic that's not stored in the same folder as the .exe sport (as shadow master said). You could always be interesting and type the full path .
As for shadow master, could you elaborate a bit on what you said there...I'm not fully understanding what or why you're doing what you're doing to get it to work...
Viper
Posted: Mon Jan 17, 2005 12:19 pm Post subject: (No subject)
i dont get wut this is
Delos
Posted: Mon Jan 17, 2005 1:00 pm Post subject: (No subject)
Hehe...
Ok, it takes a picture. By analyzing the colours, it redraws it as a greyscale series of dots. The probability of a dot being drawn increases with the darkness of the colour of that spot in the original image. The probable colour of the dot (in terms of grey) changes depending on the original colour once again.
Increasing the density allows for a more recognizable picture to be drawn.
I've found that once you get beyond around 20 or so in the denisty, the pic doesn't change at all, so I've restricted it to 15.