User Tag List

Results 1 to 7 of 7

Thread: Decode/encode files, hex or binary

  1. #1
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)

    Join Date
    Dec 2013
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Decode/encode files, hex or binary

    test.png
    Using clickteam fusion can i get the hex or binary of that image?
    And once i have received the hex or binary could i save it as a .png file again.
    Maybe using the xlua object?
    Thanks for reading

  2. #2
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleInstall Creator ProUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Posts
    574
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    You could load the image into one of the binary extensions. how are you receiving the image? downloading via HTTP?

  3. #3
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)

    Join Date
    Dec 2013
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Could you tell me the name of the extension? The image is stored on my computer.

  4. #4
    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator ProUnicode Add-on

    Join Date
    Jun 2011
    Posts
    628
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Binary array or Binary object

  5. #5
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)

    Join Date
    Dec 2013
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks i have found it and tried some stuff does anybody know how to put the binary of that png into a edit box?
    I can load the binary but i dont see an option to display the binary of a file in the edit box.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator ProPatch Maker
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    DJFuego's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    1,410
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Example Binary to TXT

    Here is an example for you to play with. Commented.
    I'm not sure why you would want to download hex encoded images but base 64 would be better.
    Attached files Attached files

  7. #7
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)

    Join Date
    Dec 2013
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks i'm having 2 problems with this example first one if i replace encode to base64 with hex it crashes.
    And when i try to load a 2GB file it also crashes.

Similar Threads

  1. Replies: 0
    Last Post: 10th February 2015, 01:29 PM
  2. binary files don't work
    By Banduck in forum Fusion 2.5
    Replies: 6
    Last Post: 27th November 2014, 01:57 PM
  3. "Flash / INI object: now loads INI files stored as binary files in the application."
    By EdibleWare in forum SWF/Flash Export Module Version 2.0
    Replies: 5
    Last Post: 2nd July 2014, 10:22 AM
  4. Binary object encode to hex crash
    By gamefreak202 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 4th July 2010, 01:35 AM
  5. Binary object - Hex encode
    By Ross in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 25th January 2007, 11:24 PM

Posting Permissions

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