Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7825991
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T09:13:50+00:00 2026-06-02T09:13:50+00:00

Hy i am using https://www.stormondemand.com/manage/server/7SA43U.html#network for create serevrs.And i recived server graph data in

  • 0

Hy i am using https://www.stormondemand.com/manage/server/7SA43U.html#network for create serevrs.And i recived server graph data in the form of base 64 encoded image.Like below in hash format

{"content_type"=>"image/png", "content"=>"iVBORw0KGgoAAAANSUhEUgAAAg0AAADcCAIAAAB8hwVgAAAaEElEQVR4nO3deXBUZbrH8aeX7Cud\nBFkMGEGQAVkEgwIyClgqm8LgAi5DguWoowMDghvl1VQhFI7eDP8YuDBuXC/CVVApcKoww0UgBDAJ\nW9jJsCaY0GTp7Ok+948Tm9DdebM2nQ7fT1FUn3Pefs/znKT6l3NO0m3QNE0AAGiE0dcFAAA6NHIC\nAKBCTgAAVMgJAIAKOQEAUCEnAMA/2Gy2RYsWzZkzZ+HChWVlZc3ZZLVan3rqqTbul5wAAP+wZs2a\nxMRE/f/PPvusyU25ubnz588vKipq437JCQDwD5mZmQ8++KCIjB8/PiMjo8lNGzdufPPNN00mUxv3\na27j8wHAfxkMuzRttK+raC6r1RoTEyMiFovFarU2uemdd95pl/22LCcMBkO77BUAOogb/6rmd++C\n0eLzifLycm/UoZafn9+9e/cbv98bhgb9HQ36qbCwrPLyu+UGNhgWFtbq58bExFitVv2MwWKxNHNT\n23F/AsDNa+vWO3xdQgskJiamp6eLSHp6+siRI5u5qe3ICQDwD7Nnz969e3dSUlJmZmZycrK+8uWX\nX25sU3sxtOhKmcFg4LqTN9Cgv6NBP7VjR9nYsRFyY687+d39Cc4nAAAq5AQAQIWcAACotMPf2Rk3\nbzZUV9v/8IeWPa2iwvQ//2OfM0dEpLjY9N13YjZrISGOiRMlOLh+zKVLpn/+UxyOgP79pUsX03ff\nSU2NmM32xx6T0FDXSX4b7BgzRuvfv+19AQCkHXKirs5w9aqYzVJRUf/a3RwXLph++kkqKvQl09at\njgce0Hr3lkuXjNu2OSZPrl//88/2adMkNDR4xQqjzeYYMULr08dw8qRx+3bHxImuk/w22PT553Zy\nAgDaSVuvOxmOHtX69HHceafx4EF9jemTT0zffGNas8Zw/nz94oYNxvT0656lafannpLAwPrl4mKt\nd28RkR49DPn5zmH2KVMkOlpExGg0nD+v9ekjItoddxguXnSf"}

How i can convert this data into image and display into image form..

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T09:13:50+00:00Added an answer on June 2, 2026 at 9:13 am

    Just base-64-decode it and output that.

    require "base64"
    
    image_data = Base64.decode64("iVBORw0KGgoAAAANSUhEUgAAAg0AAADcCAIAAAB8hwVgAAAaEElEQVR4nO3deXBUZbrH8aeX7Cud\nBFkMGEGQAVkEgwIyClgqm8LgAi5DguWoowMDghvl1VQhFI7eDP8YuDBuXC/CVVApcKoww0UgBDAJ\nW9jJsCaY0GTp7Ok+948Tm9DdebM2nQ7fT1FUn3Pefs/znKT6l3NO0m3QNE0AAGiE0dcFAAA6NHIC\nAKBCTgAAVMgJAIAKOQEAUCEnAMA/2Gy2RYsWzZkzZ+HChWVlZc3ZZLVan3rqqTbul5wAAP+wZs2a\nxMRE/f/PPvusyU25ubnz588vKipq437JCQDwD5mZmQ8++KCIjB8/PiMjo8lNGzdufPPNN00mUxv3\na27j8wHAfxkMuzRttK+raC6r1RoTEyMiFovFarU2uemdd95pl/22LCcMBkO77BUAOogb/6rmd++C\n0eLzifLycm/UoZafn9+9e/cbv98bhgb9HQ36qbCwrPLyu+UGNhgWFtbq58bExFitVv2MwWKxNHNT\n23F/AsDNa+vWO3xdQgskJiamp6eLSHp6+siRI5u5qe3ICQDwD7Nnz969e3dSUlJmZmZycrK+8uWX\nX25sU3sxtOhKmcFg4LqTN9Cgv6NBP7VjR9nYsRFyY687+d39Cc4nAAAq5AQAQIWcAACotMPf2Rk3\nbzZUV9v/8IeWPa2iwvQ//2OfM0dEpLjY9N13YjZrISGOiRMlOLh+zKVLpn/+UxyOgP79pUsX03ff\nSU2NmM32xx6T0FDXSX4b7BgzRuvfv+19AQCkHXKirs5w9aqYzVJRUf/a3RwXLph++kkqKvQl09at\njgce0Hr3lkuXjNu2OSZPrl//88/2adMkNDR4xQqjzeYYMULr08dw8qRx+3bHxImuk/w22PT553Zy\nAgDaSVuvOxmOHtX69HHceafx4EF9jemTT0zffGNas8Zw/nz94oYNxvT0656lafannpLAwPrl4mKt\nd28RkR49DPn5zmH2KVMkOlpExGg0nD+v9ekjItoddxguXnSf")
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using this jQuery AJAX call to google's ClientLogin. $.ajax({ url:https://www.google.com/accounts/ClientLogin, type:POST, data:{'Email': 'myusername',
I'm trying to connect to Informix database using sample code from https://www.ibm.com/developerworks/data/library/techarticle/dm-0510durity/ I'm using
I am using this function https://www.php.net/sys_getloadavg to get a hint about my server load.
So I'm trying to access this api https://www.clarityaccounting.com/api-docs/ using SUDS. Here is the code
I am using jqGrid ( http://www.trirand.com/blog/ ) to display some read-only data. The resizeable
I'm using this ( http://www.j-download.com/demo/demo-j-dcontact.html ) form on my website. It works great but
I'm using https://www.facebook.com/dialog/oauth?client_id={0}&scope=email&redirect_uri={1} but the dialog box says install instead of allow, What do
So, I am using https://www.facebook.com/dialog/oauth?client_id=xxxx&scope=email&redirect_uri=xx to allow me access to users' details. I want
I am using an URL like the following: https://www.google.com/accounts/OAuthAuthorizeToken? oauth_token=ab3cd9j4ks73hf7g&oauth_callback=http%3A%2F%2Fwww.example.com This gets redirected to:
I'm tring to authenticate with facebook using the following request: https://www.facebook.com/dialog/oauth?client_id=MYAPPID&redirect_uri=http://localhost:3000/oauth/callback.html&scope=email The response is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.