SRL Archive - OSR Help

Bmp Conversion


WatchMEWin

2013-11-06 17:24:46

I have a BMP in scar:
Bmp := TSCARBitmap.Create('deNpjY2BhiJ68nyoIALYjKEM=');

How do I make this work in simba?

Gu3st...

2013-11-06 17:39:37

http://docs.villavu.com/simba/scriptref/bitmaps.html?highlight=bitmapfromstring#bitmapfromstring

Check the documentation :)

WatchMEWin

2013-11-06 17:58:33

See, here's my problem.
I dunno the width/height. That's where I'm lost. >.<
Never mind, found a function in scar that generates the original bmp.

Next step: What is the easiest way to copy that picture into simba?

bg5

2013-11-06 18:06:34

SCAR has a tool to generate bitmap. Use it and copy code from debug box.It will work for Simba too.


WatchMEWin

2013-11-06 18:17:43

Oh, so the long string of characters it generates (in first post) is compatible with simba? That would solve all my problems.

Olly

2013-11-06 19:13:50

If Simba and scar use the same bitmap to string form that is.