Jump to content
Sign in to follow this  
jcpetu

JPG file to HEX

Recommended Posts

jcpetu

Hi, Forum. Is it any way to convert an JPG file to HEX string and backfrom the HEX to a JPG file.

Thanks im advance.

Share this post


Link to post
Share on other sites
Danyfirex

Hi. 

Local $hFile=FileOpen("yourpicturepath.jpg",16)
Local $BinData=string(FileRead($hFile))
FileClose($hfile)
;~ ConsoleWrite($data)

FileWrite("ouputpath.jpg",binary($BinData))

Saludos

Share this post


Link to post
Share on other sites
Chimp

also,

>this script could interest you

Edited by Chimp

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

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  

×