Maven_ wrote:dnb_den_bert wrote:Is it possible to do this mission in python? <br>If true :p:<br>couldt someone give me a small hint?<br><br>thx
Get PIL (Python image library) and pycurl. Download the image with pycurl and parse it with PIL.
If you have any specific questions you can pm me.
I can assure you the pixels are zero indexed, though it was how I was determining the distance between pixels that was giving me the incorrect answer.
Writing it down in Java now, almost done, a nice trick I picked up on the way is signing in through the browser and then using the PHPSESSIONID cookie to fool the site into treating my HTTPClient as the browser, never thought of doing that b4, dont think I can think of a reason why I'd want to do it again (except other programming missions on this site).
Bitbored wrote:I made a VB.net application that loads in the image after I drop it into a folder on my desktop, reads it out using GetPixel, translates the Morse and tells me the result, it is a simple string with random letters AND numbers, apparently it's wrong, since after I click submit, it sais Sorry: Your answer is wrong...
I guess it isn't a bug in my application, since then it wouldn't create a nice string, but give loads of errors.
Can I post my code here?
Should the letters be Capitals are lower?
How many characters should the code count?
Users browsing this forum: No registered users and 0 guests