Drawthingy needs stress test
- Started
- Last post
- 31 Responses
- kewHexton0
if the screen refreshes (someone else has added a drawing) while you're drawing, the pen goes wonky.
- emilkorngold0
omg we just had 5 people in the office drooling over that image. my bosses are convinced I have a winner app here. thank you for drawing that.
- emilkorngold0
we're going to try and implement the stuff done by the guy seen in below link and make it a wall sized doodle application.
- emilkorngold0
I've fixed the refresh issue. Thanks for pointing it out.
- GreedoLives0
i dont see the line weight thingy...?
- emilkorngold0
line weight is still on the todo list :)
today I've made changes to the back-end.
images now get saved to and retrieved from database.I've used a script so save the existing images to database,
but some images appear broken now.
I've tried a couple of methods reading the file content like fopen and file_get_contents but all give the same result. I also tried resaving the images using photoshop and then trying again to save to database, but still the images get broken.Any php expert know why that is ?
- emilkorngold0
meh... saving images to db was stupid. i'm saving file references only now. much better this way. :)
- xicast0
When you extracted the binary content from the database, what did you set the header format to be?
- emilkorngold0
I used something like this:
header ("Content-type: image/jpeg");
echo base64_decode($data);
exit;For some reason some images didn't encode or decode correctly. Besides that, it was rather slow at saving and retrieving. Saving references to files works much better for me. :)

