Results 1 to 3 of 3

Thread: Bitmap to String VB

  1. #1
    Join Date
    Dec 2007
    Posts
    2,112
    Mentioned
    71 Post(s)
    Quoted
    580 Post(s)

    Default Bitmap to String VB

    is there anyway to use Bitmap strings to make a image on Visual Basics?
    im looking for a way to introduce a bitmap through a string, not a file locations. . idno if it is possible i just dont know the correct funcs/procedures

  2. #2
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,691
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Check out the Simba source; you can see how bitmaps are loaded from strings.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  3. #3
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    You need base64 encoding/decoding functions, and then just loop through the data, B G R is the order, so BGRBGRBGRBGRBGRBGRBGRBGRBGR would be an 3x3 image after you have taken placed them into an array, and constructed the image, of course you need to know the size of the image, but that is passed in simba before the actual string, as you must know. You can remove the first "m" from the string, well you have to remove it.
    There used to be something meaningful here.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •