ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Load base30 encrypted text

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
John Posted - Oct 23 2013 : 21:20:36
Hello

I am utilizing the JSignature JavaScript component which allows writing a signature on the component in a browser and then exporting the signature data using a vector data compression algorithm to a memo field in a database record. The compression algorithm I am using is base30, although the component also has SVG and a native compression algorithm.

I can copy this saved data back to a JSignature component from a database memo field via the following code:
var
tempData: String;

tempData := kbmMemTable1.FieldByName('Signature').AsString;
IWCGJQSignature.JQSignatureOptions.SetData(tempData);


Does the ImageEnVect component have a method to take vector data that has been compress via base30 and placed into a DB memo field and reverse the process, i.e. decompress the data and load it into a ImageEnVect canvas?


TIA

John

1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Oct 24 2013 : 11:56:13
Hi John

You should be able to convert your (base30 decoded) string to a stream and then you can use one of the TImageEnVect LoadFromStream methods.

http://pages.cs.wisc.edu/~rkennedy/string-stream



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com