Drag and dropping images from a browesr

David Bovill david at viral.academy
Sat Jun 20 10:17:34 EDT 2015


When I drag and drop an image onto LiveCode from Firefox I get the
following data in the dropdata ["files"]

䕒佖〷〰⼀ U䠖汥敶楴慣丠略ⱥ湵捩摯ᥥ ഀ'ࠀ
>

No idea what that is :)

Nothing usefull is returned in the other data fields: styles, rtf, unicode,
text

In Google Chrome the only data I get is for dropdata ["image"] and looks
something like:

ˇÿˇ‡JFIFˇ˛GFile source:
http://commons.wikimedia.org/wiki/File:Falafel_balls.jpgˇ‚@ICC_PROFILE0ADBEmntrRGB
XYZ œacspAPPLnoneˆ÷”-ADBE
cprt¸2desc0kwtptúbkpt∞rTRCƒgTRC‘bTRC‰rXYZÙgXYZbXYZ
textCopyright
1999 Adobe Systems IncorporateddescAdobe RGB (1998)XYZ ÛQÃXYZ
curv3curv3curv3XYZ

Does anyone know what these encoding are - and would it not be useful if
liveCode reported consistent results between browsers?



More information about the use-livecode mailing list