[tw] Re: draw overlay on top of image?

2015-01-17 Thread Mat
What an interesting problem! 

As noted elsewhere, I have some ideas about a tool in TW intended for quick 
mockup creation to illustrate things in TW. The idea is to use embedded 
images depicting TW specific elements such as "a blank button", "a generic 
tiddler" etc. It would be very valuable if it was possible to seemingly 
draw on these - but even better if it was possible to *write* on them. For 
example take a blank button and write "New tiddler" on it.

Do you (I guess I'm talking to Tobias now, but anyone please do reply) 
think this would be possible in TW? 

I'm thinking, maybe it is possible to set the background of the text field 
to be transparent? So if, as you indicate, one could put a text field in 
front of another then...

Maybe a special tiddler template containing two text fields, same size, and 
placed just next to eachothers... but instead one has another z-index and 
is offset with the length of it's width so it overlaps perfectly. I know it 
is possible with overlapping text like that because if you for instance 
open tiddler PageTemplate 
, you see this 
overlap effect in the sidebar head! What if we can *use* this to our 
advantage!

A TW glass feature!

I can imagine a lot of possibilities opening if we could do this. Imagine 
an iframe that you could add annotations to, *on* it. 

<:-)

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: draw overlay on top of image?

2015-01-17 Thread Dave
thanks for the thoughtful reply.  

As usual, I'm always coming up with things that have yet to be invented, ha 
ha.  

I'll play around with just editing a template image and saving directly for 
now, because in the workflow I'm imagining, it would have to pretty much be 
instantaneous as marking the sites treated would be real time while the 
patient was in the room and I wouldn't want to be fiddling around with 
extra files and applications.

I'm so slow at development, by the time I'm ready to use it, maybe someone 
will have made that already ;)


(p.s. sorry about the reposts, I thought my phone was just lagging in 
posting so I reposted a couple times)

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: draw overlay on top of image?

2015-01-17 Thread Tobias Beer
Hi Dave,
 

> If I have a starting image (making sure it's as small as reasonably 
> possible) and I draw on it and save it maybe using the new tiddler's name, 
> does anyone know if that would actually use more file space than what I'm 
> talking about?


You'd go about it differently. Rather than renaming, use cloning. And yes, 
you'd duplicate that image, which is what you want anyway.

What would be really cool is if there was a way to overlay an exertnal 
image and the resulting semi-transparent overlay being smaller in its 
footprint ...as it should contain less information.

Perhaps there could be an almost pain-free workflow involving svg-editor 

...

   1. open svg-editor
   2. place your image in the background
   3. draw svg elements on top
   4. remove background
   5. save svg
   6. create image tiddler with (perhaps referring to an external image)
   7. use a to-be-created macro in another tiddler which overlays the svg 
   on top of the image with proper scaling

All this is a lot better than pixel-based editing, imho... not just for 
annotations.

Best wishes, Tobias.

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: draw overlay on top of image?

2015-01-17 Thread Dave
Just a thought: perhaps I'm wrong about the file size thing.

If I have a starting image (making sure it's as small as reasonably possible) 
and I draw on it and save it maybe using the new tiddler's name, does anyone 
know if that would actually use more file space than what I'm talking about?

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: draw overlay on top of image?

2015-01-17 Thread Dave
Just a thought: perhaps I'm wrong about the file size thing.

If I have a starting image (making sure it's as small as reasonably possible) 
and I draw on it and save it maybe using the new tiddler's name, does anyone 
know if that would actually use more file space than what I'm talking about?

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: draw overlay on top of image?

2015-01-17 Thread Dave
Just a thought: perhaps I'm wrong about the file size thing.

If I have a starting image (making sure it's as small as reasonably possible) 
and I draw on it and save it maybe using the new tiddler's name, does anyone 
know if that would actually use more file space than what I'm talking about?

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: draw overlay on top of image?

2015-01-17 Thread Tobias Beer
Hi Dave,

Currently that feature does not exist.
In general it may be possible.

There could either be a transparent gif,
preferably a png as an overlay on which to draw.

That would need some custom macro / widget, though...
and some experimenting as to creating a blank transparent image of a given 
size.

At image tiddlers, rather than directly drawing over them
— which doesn't seem a very practical idea anyway —
you would have a "draw on me" type of button
creating another tiddler with the ability to draw on that overlay instead,
showing the related image below in a see-through manner.

I have created an issue here...

https://github.com/Jermolene/TiddlyWiki5/issues/1377

...maybe someone skilled with image files takes a shot at it.

Best wishes, Tobias.

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.