lrstndm Posted August 6, 2013 Posted August 6, 2013 How can I convert a *.bmp file to a hexadecimal string? Thanks in advance, lrstndm
FireFox Posted August 6, 2013 Posted August 6, 2013 (edited) Hi,Here you go :#include <FileConstants.au3> Local $hFile = FileOpen("image.bmp", $FO_BINARY) Local $sData = String(FileRead($hFile)) FileClose($hFile) ConsoleWrite(StringLeft($sData, 256) & @CrLf) ;show some chars.Br, FireFox. Edited August 6, 2013 by FireFox
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now