Cryptograhy
Richard Gaskin
ambassador at fourthworld.com
Tue Aug 5 23:07:17 EDT 2014
BJ wrote:
> Are you able to use the code to pack and unpack
> a image and write it to disk?
Running this code here and selecting a JPEG file it seems to work well:
on mouseUp
answer file "Select a file:"
if it is empty then exit to top
put url ("binfile:"& it ) into tData
put fwPack(tData, "bob") into tData
put fwUnpack(tData, "bob") into tData
put tData into url ("binfile:"& \
specialFolderPath("desktop")&"/testfile.jpg")
end mouseUp
I wasn't able to follow your description: since fwPack already uses
base64, what else are you doing in your code that would require you to
use base64 separately?
--
Richard Gaskin
Fourth World Systems
Software Design and Development for Desktop, Mobile, and Web
____________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
More information about the use-livecode
mailing list