Jump to content
Sign in to follow this  
Andreik

Art Generator

Recommended Posts

I find this

http://www.autoitscript.com/forum/index.php?showtopic=33946

but I don't understand why is not working for me.

Please help.

i found the problem.

change BinaryString to Binary.

i think it was an old function.

;saving
Local $h_Open = FileOpen('output.jpg', 2)
FileWrite($h_Open, BinaryString($hex))
FileClose($h_Open)
MsgBox ( 64, "Art Generator", "Done!" & @CRLF & @scriptdir & "\output.jpg" )

;saving
Local $h_Open = FileOpen('output.jpg', 2)
FileWrite($h_Open, Binary($hex))
FileClose($h_Open)
MsgBox ( 64, "Art Generator", "Done!" & @CRLF & @scriptdir & "\output.jpg" )

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...