PNG images and base64_decode()

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nebojsa
    New Member
    • Feb 2008
    • 1

    PNG images and base64_decode()

    hi everybody

    i'm having the following problem...

    web service provides me with a set of values (value1, value2.... x). One value is encoded image data. I need to show decoded image on the web page (base64_decode( ))... Image is PNG. My question is what is the best way to solve this?

    tnx.
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #2
    Heya, Nebojsa.

    Have a look at the imagepng() function (http://php.net/imagepng).

    Comment

    Working...