Icons saved in the xml, what is the encoding? |
Post Reply |
Author | |
Zach
Groupie Joined: 19 July 2006 Status: Offline Points: 62 |
Post Options
Thanks(0)
Posted: 15 August 2007 at 7:47am |
What type of encoding is used for the Icons in the xml?
This to be specific
<Icon Width="16" Data="ABAAAAAAHBAAAAAAEDAAICAAAAAAABAAAAAAABAAAAAABAAAACAADAAAAAAAAAEAAAAAAAAAAAAAA
|
|
Zach
Groupie Joined: 19 July 2006 Status: Offline Points: 62 |
Post Options
Thanks(0)
|
I should probably ask what format it is after its unencoded as well :)
It appears to be base64 - but then what do I have?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
its MFC special encoding - saves 1 byte to 2 alpha characters. think we will change it to base64 to reduce about 1/3 of size.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Zach
Groupie Joined: 19 July 2006 Status: Offline Points: 62 |
Post Options
Thanks(0)
|
base64 would be cool - I am one that is stuck in my ways so bad that I ended up making its so I could run php commands straight from vb6 - which in this case means I have base64 encoding and decoding a function call away :) Any idea when (if) such a change would take place?
My app that I am working on is built to be extended a great deal, and actually every bit of it I work on is done as extensions.
As such - I have the need to be very flexable in how I modify the toolbars.
As much as I personally hate XML - there is times when it would be much more simple to just modify the XML file on startup - before I load it, than it would be to modify it programically (php again - have all my changes sitting there waiting in php array - load the xml file into another array - merge my changes into the xml array ...save that modified array as the xml file - done)
(oh - give me a serialized array any day of the week over an xml file - much smaller - no "rules" I need to care about .. and much easier to work with)
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Think it will be part of 11.2.1 or something like that. :-)
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |