As threatened in an earlier post, I have several new questions that
I've been toying with. I suspect someone knows.
1. Is there a way, using filters, to take an image A and produce it
photographic negative A', such that 255-C(A)=C(A') for each channel C
in {R,G,B)? I've fooled a bit with the filter "feComponentTransfer"
with some hints of success, but it seems like so natural a thing that
there must be a straightforward way that I'm just missing.
2. On a related theme, <feBlend/> has modes including "screen",
"multiply" etc. Is there a way to create the "difference" between two
images (as with the Photoshop difference filter) in SVG?
3. If I deform a simple shape using < feDisplacementMap/> (see for
example http://srufaculty.sru.edu/david.dailey/svg/eggcloning3.svg
where the user may unleash fried eggs bouncing and sliding over a
radial washboard) is there any way to determine exactly how far an
image has been moved by that transformation? id est what is the
on-screen locus of a shape deformed by a transformation? If so, then
I'd be able to determine RGB values of pixels in the underlying image
and that could prove quite handy for other things. Are there other
ways to interrogate RGB values of pixels ?
4. In the above animation, I observe that on slower machines its SMIL
animation takes precedence over its JavaScript animation. That is, if
the browser can't keep up with the SMIL (because there is too much
processing going on) it never begins the JavaScript animation. Is
there anyway to adjust the relative priorities of these two kinds of events?
5. Is there any difference between O.setAttributeNS(null, attribute,
value) and O.setAttribute(attribute, value) ? Both seem to work fine
in both IE/ASV and Firefox. I've been intermingling them
superstitiously in my code.
6. To make a jig-saw puzzle, one may chop up an image into little
movable chunks using numerous clipPaths applied to numerous copies of
an image (see for example,
http://marble.sru.edu/~ddailey/svg/clipembed16.html). The problem is
that this actually uses lots of RAM. Is there anyway to just grab the
pixels out of a rectangular section of a bitmap in SVG and move
(just) them around? I used to do stuff like this in MacPascal a
couple of decades ago. Again, I think I may just be missing something
key in the tool set provided.
7. Has anybody built a "distort" widget which would allow one corner
of a rectangular bitmap to be grabbed and moved about, hence
distorting (not just skewing) the associated image? I suppose
transform="matrix(a,b,c,d,e,f)" will do the trick, but if somebody
has already done this, it might save me some time.
8. Does it make sense to submit all these questions as a block or
would it be better to send seven (8?) e-mails to the list?
Thanks in advance, and cheers
David
------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/1U_rlB/TM
--------------------------------------------------------------------~->
-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
----
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/