Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-22-2012, 02:55 PM
Gunderak Gunderak is offline
Coder
Gunderak's Avatar
Join Date: Jun 2011
Location: Australia
Posts: 795
Gunderak is on a distinguished road
Displaying an image from a base64 string

Hey, I'm trying to display an image in a GuiBitmapCtrl.
The image is encoded with base64.
So far I have this.
PHP Code:
    temp.img "the base64 string.";  //Too long to post here lol.
    
new GuiBitmapCtrl("TeamViewer_Display"){
      
bitmap "block.png";
      
profile GuiDefaultProfile;
      
height 359;
      
width 520;
      
bitmap base64decode(img);
    } 
But so far it's displaying nothing.
__________________

Gund for president.

Remote PM {P*}x (Graal813044) from eraiphone -> Stefan: I hav 1 qustion
*Gunderak: he hav 1
*Gunderak: qustion
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:14 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.