lrstndm Posted August 6, 2013 Share Posted August 6, 2013 How can I convert a *.bmp file to a hexadecimal string? Thanks in advance, lrstndm Link to comment Share on other sites More sharing options...
FireFox Posted August 6, 2013 Share 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 Link to comment Share on other sites More sharing options...
lrstndm Posted August 6, 2013 Author Share Posted August 6, 2013 Thanks a lot FireFox! Link to comment Share on other sites More sharing options...
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