Component to preview image using javascript/jquery without need upload file to server and get your base64 data that can be converted to binary data.
Only one object is needed: the JSImagePreview webblock.Its return a base64 at Text datatype by Notify action. You'll be create a destination Notify at "your side" to make use.
The sample was developed without worrying to design.
Updated to support any image format.