cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Convert base64 code into Image

koushal
12-Amethyst

Convert base64 code into Image

Hi 

 

Can  someone help me converting base64 code into images?

I have check a similar post on this but that will use HEX code.

 

Please let me know if we can acheive this ?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hello,

 

In ThingWorx images which are not stored as files are base64-encoded strings. You don't need to do any conversion if you return IMAGE from your service, see screenshot attached.

 

/ Constantine

View solution in original post

4 REPLIES 4
PaiChung
22-Sapphire I
(To:koushal)

I know Thingworx has UUEncode and UUDecode services, so if the encode matches then the decode should be able to reconstitute the image.

koushal
12-Amethyst
(To:PaiChung)

Hi,

 

I did not find these services. Could you please let me know under which Entity I will find these services?

Please let me know if any documentation available for these services.

Thanks for your response.

Hello,

 

In ThingWorx images which are not stored as files are base64-encoded strings. You don't need to do any conversion if you return IMAGE from your service, see screenshot attached.

 

/ Constantine

PaiChung
22-Sapphire I
(To:koushal)

In the EncryptionFunctions there are Encode and Decode services.

Top Tags