Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. Decoding base64 to generate png image

Decoding base64 to generate png image

Scheduled Pinned Locked Moved Web Development
comhelptutorial
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rajiya
    wrote on last edited by
    #1

    Hi, I am getting base64 text and i want to generate a png image from it. Can anyone please suggest me a good encoder or decode for the same. If anyone knows how to go about with yhis then plz help. The coding for the application is done using VB(using COM) and ASP. So any encoder or decoder making use of VB will be more useful. Plz provide me the details of the links if any. Regards, Shiney Shney

    S M 2 Replies Last reply
    0
    • R Rajiya

      Hi, I am getting base64 text and i want to generate a png image from it. Can anyone please suggest me a good encoder or decode for the same. If anyone knows how to go about with yhis then plz help. The coding for the application is done using VB(using COM) and ASP. So any encoder or decoder making use of VB will be more useful. Plz provide me the details of the links if any. Regards, Shiney Shney

      S Offline
      S Offline
      SeMartens
      wrote on last edited by
      #2

      Hi, does the base64-text contains the bytes of a png? If yes, then just convert the string with the Convert.FromBase64String into a byte-array, put these into a memorystream and load the image using the Image.FromStream() where you pass the memorystream. Does this help you? Regards Sebastian

      It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.

      1 Reply Last reply
      0
      • R Rajiya

        Hi, I am getting base64 text and i want to generate a png image from it. Can anyone please suggest me a good encoder or decode for the same. If anyone knows how to go about with yhis then plz help. The coding for the application is done using VB(using COM) and ASP. So any encoder or decoder making use of VB will be more useful. Plz provide me the details of the links if any. Regards, Shiney Shney

        M Offline
        M Offline
        Mohammad Dayyan
        wrote on last edited by
        #3

        Have you ever seen this article http://www.codeproject.com/KB/GDI-plus/image-base-64-converter.aspx[^]

        R 1 Reply Last reply
        0
        • M Mohammad Dayyan

          Have you ever seen this article http://www.codeproject.com/KB/GDI-plus/image-base-64-converter.aspx[^]

          R Offline
          R Offline
          Rajiya
          wrote on last edited by
          #4

          thanks for the tool. But i wanted a tool or a utility which would convert several base-64 files to png images. Am trying to find out some tool for this. Kindly let me know if any.

          S M 2 Replies Last reply
          0
          • R Rajiya

            thanks for the tool. But i wanted a tool or a utility which would convert several base-64 files to png images. Am trying to find out some tool for this. Kindly let me know if any.

            S Offline
            S Offline
            SeMartens
            wrote on last edited by
            #5

            Could you be so kind to describe exactly what you want to do? As I see it, the posted answers should enable you to write your own tool (not more than 10 loc).

            It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.

            1 Reply Last reply
            0
            • R Rajiya

              thanks for the tool. But i wanted a tool or a utility which would convert several base-64 files to png images. Am trying to find out some tool for this. Kindly let me know if any.

              M Offline
              M Offline
              Mohammad Dayyan
              wrote on last edited by
              #6

              I don't know any. But you can create it in some hours for yourself.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups