base64encode and jpg problem

Nicolas Cueto niconiko at gmail.com
Wed Jun 6 08:13:59 EDT 2007


I can't figure out why the following doesn't work:

put (base64encode(URL "file:img/000.jpg")) into URL "file:img/000.if5"
...
put (base64decode(URL "file:img/000.if5")) into URL
"file:img/000new.jpg"

The files "000.if5" and "000new.jpg" are created,
and "000.jpg" and "000new.jpg" are the same size,
but "000new.jpg" doesn't display.

Thank you.

--
Nicolas Cueto






More information about the use-livecode mailing list