I am trying to convert an image presented as HEX data (comes in as HEX in a XML file) back into an image that I can display using my stack user interface. I have tried every option that I could think of and could find in forums and manuals and ended up with the binaryEncode function: binaryEncode(formatsList,dataStringList) and tried all possible "formatsList" options (e.g. h,H,C,etc.). One example in my stack:
on mouseUp
put field "Field2" into tHex
put binaryEncode("x*",tHex) into URL "binfile:/Users/xxx/Desktop/VV/test.png"
end mouseUp
The HEX data is comma separated as per the dictionary and is something like: FF,D8,FF,E0,00,11,4A,46,49,46,00,01,01,01,00,00,00 etc. Any assistance will be appreciated.