Right now I use Oracles XDK to query the database and return an XML string. The XML contains an element which is an image(comes from a Blob). The data is in Hex format. Is there a way to take a HEX string and convert it back to a JPEG? I have tried converting the HEX to binary but its too big and will take too long. Any help would be greatly appreciated.