hi,

i noticed that when you drag'n'drop a jpeg image (for example image.jpg), 
that file is copied to the tiddlers folder and a new file is created using 
the same file name as the file imported with ".meta" as postfix, i.e. 
image.jpg.meta - this file contains something like:

created: 20150908152411390
title: image.jpg
type: image/jpeg

...but, if you drag'n'drop a gif (or png) image (for example image.gif), 
that file is *not* copied to the tiddlers folder and a new file is created 
using the same file name as the file imported with ".tid" as postfix, i.e. 
image.jpg.tid - this file contains something like:

created: 20150908152411390
title: image.gif
type: image/gif

iVBORw0KGgoAAAANSUhEUgAAAJYAAADiCAMAAACbbM4HAAABelBMVEWJng+pq6l6wQ11lA...

i.e. the image is instead embedded using base64 encoding.

- wouldn't it be nice if "copy image file" or "embed image file" could be 
selected during the import by drag'n'drop, when the "import tiddler" appear?

i'm running tw on node.js, so i always prefer to "copy image file" instead 
of "embed image file"

cheers!
christian

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/864c4e96-4d43-420a-a87d-b4b77dbbb87a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to