[svg-developers] Expanded SVG: what sort of images could be created with

2008-12-28 Thread a_matseevsky
Happy New Year! You may try my small gift- PhotoToPicture 
converter. This one converts raster into vector, by for the reasons, 
explained before, its output is a raster too. As for me, looks rather 
pretty. Think about it as a filter, what simplifies an image and make 
it looks as an art. One useful option is included- output can be 
enlarged up to 893% of its original size (this is result of a mistake 
in my calculations- I wanted up to 800%, but leaved it as it is). 
Download is available at 
http://www.smartfills.com/Html/PhotoToPicture.zip . Output is just 
same thing as expanded SVG could be. It is clear, what sort of 
additional records should be added to SVG specification to reproduce 
such sot of images.
Andrew . 




-
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
mailto:svg-developers-dig...@yahoogroups.com 
mailto:svg-developers-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
svg-developers-unsubscr...@yahoogroups.com

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



[svg-developers] Re: Converting JPG files to SVG

2008-12-17 Thread a_matseevsky
--- In svg-developers@yahoogroups.com, ddailey ddai...@... wrote:

 Hi Andrew 
 Yes, I wondered if you had seen the things about diffusion 
curves introduced at this year's SIGGraph.
 
http://artis.imag.fr/Publications/2008/OBWBTS08/diffusion_curves.pdf 
. It was presented by some folks from INRIA, Grenoble U, U of 
Washington and  Adobe. They seem to be talking about much the same 
thing as what you have been talking about and have similar 
observations about the limitations of more primitive gradients. It 
starts with a cubic bezier and then allows color gradients on either 
side, together with a set of blur control points that control the 
transitions between the two halves. They also have come up with a 
way of computing all this in a practical way, that looks very 
promising. A brief demo can be seen at http://www.youtube.com/watch?
v=lEVe7vU5WiU . 
 
 The work certainly reminded me of what you've been working with 
for some years now, though it may in fact be a quite distinct 
approach.
 
 Regards
 David
 
 
 [Non-text portions of this message have been removed]

Thanks, I new about them. I was trying to make contact with all of 
authors, listed in quoted article. One answerd me once:
Hi Andrew,
indeed, your work seems to be very similar to ours! Especially your 
vectorization results are very neat, and your color interpolation 
seems to be faster than our diffusion process.
From our experience, users of gradient meshes are looking forward 
to play with more intuitive tools for the creation of smooth vector 
gradients.
Thanks for showing us your results, let us know about your next 
projects,
Regards
Adrien (Bousseau)
It was the first and the last my contact with this group. No matter 
what efficient solutions I offer, the real use will be only if at 
last one vector file format will be expanded. Well, I'll inform this 
group when the next version of my converter is complete to testing. 
Currently I have some problems with preserving original colors 
during resizing.
regards,
A 
 



 







-
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
mailto:svg-developers-dig...@yahoogroups.com 
mailto:svg-developers-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
svg-developers-unsubscr...@yahoogroups.com

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



[svg-developers] Re: Converting JPG files to SVG

2008-12-13 Thread a_matseevsky
--- In svg-developers@yahoogroups.com, Judy Perry jud...@... 
wrote:

 Yes I did, Thanks
 
  
 
 Judy
 
  
 
 * * * * * * * * *
 
 Judy Perry from Tracy, CA
 
 Website: http://www.littlebit.com/rubber1.htm
 
 Free Cutter Files: http://tinyurl.com/5wdyo2
 
 -Original Message-
 From: svg-developers@yahoogroups.com [mailto:svg-
develop...@yahoogroups.com]
 On Behalf Of steltenpower
 Sent: Tuesday, December 09, 2008 2:28 PM
 To: svg-developers@yahoogroups.com
 Subject: [svg-developers] Re: Converting JPG files to SVG
 
 I guess you already got your answer at
 http://kaioa.com/node/42#comment-265
 
 
 --- In svg-developers@yahoogroups.com, Judy Perry judylp@ 
wrote:
 
  I create files for Desktop Cutting machines (Wishblade, Pazzles,
 Craft Robo,
  etc) and I am adding on files useable with the Cricut machine.  
But
 it uses
  svg files - hence the need to convert from jpg (or wmf) to svg.
  
  
  Judy
  
   
  
  * * * * * * * * *
  
  Judy Perry from Tracy, CA
  
  Website: http://www.littlebit.com/rubber1.htm
  
  Free Cutter Files: http://tinyurl.com/5wdyo2
  
  -Original Message-
  From: svg-developers@yahoogroups.com
 [mailto:svg-develop...@yahoogroups.com]
  On Behalf Of Guy Morton
  Sent: Monday, December 08, 2008 9:09 PM
  To: svg-developers@yahoogroups.com
  Subject: Re: [svg-developers] Converting JPG files to SVG
  
  Just curious...but why are you doing that?
  
  On 09/12/2008, at 3:13 PM, Judy Perry wrote:
  
   I use Inkscape a lot. I've been converting some of my jpg 
files into
   svg files (opening the jpg file and save as a svg), but with 
over 1000
   files to convert, it is going to take me quite some time.
  
   What I am looking for is a script that I can run that will 
convert all
   the jpg files in a given directory to svg files.  I have 
numerous
   directories of jpg files, so being able to convert them one 
directory
   at a time would work.
  
   I have tried to create this script, but my coding skills are 
very
   rusty, so I am asking for assistance,
  
   Thanks in advance,
  
   Judy
   judylp@
  
  

It is not the first time when I'm trying to explain: there is no way 
to create perfect raster to vector converter (conversion from JPG to 
SVG is in fact this op) without advanced gradient fills support. 
Linear, radial and meshes-based methods are too primitive. Visit 
http://www.smartfills  and download SVSViewer.zip. This prog 
contents some image files. These files has been created with my 
converter, what converts raster images to something like SVG files. 
Actually, theses files with SVS extension content set of records, 
what could be included into SVG too (this is why I name my vectors 
SVS- something as close to SVG as possible). Currently I'm trying to 
enhance conversion algorithm and structure of SVS files too: I see, 
that there are some things, what could be done better. But, even 
current state of advanced gradients fill shows enough clear, how 
flexible and impressive SVG graphic could be.  
P.S. If someone wants to play with my converter a little, let me know




-
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
mailto:svg-developers-dig...@yahoogroups.com 
mailto:svg-developers-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
svg-developers-unsubscr...@yahoogroups.com

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



[svg-developers] Re: efficient method for calculating min distance from point to curve

2008-09-27 Thread a_matseevsky
--- In svg-developers@yahoogroups.com, Samuel Dagan [EMAIL PROTECTED] 
wrote:

 Hi! 
 I am not kidding. Your example is what I meant by inflection 
points.
 I forgot to add that the curve should be continuous. 
 Cheers, Samy

  Are you kidding? Let's try to imagine 5 points- P1, P2, P3, P4 
and 
  P5. P1 and P5 are end points, P3 is the middle one. If the 
distance 
  from P0 to P1 is less than distance from P0 to P5, you 
  recommendation is to select point P1, P2, P3. Well but why do 
you 
  think, that distance from P0 to P4 cannot be less than from P0 
to 
  P1?!

Well, but what makes you think that if a curve is continuos, minimal 
distance cannot be from P0 to P4?! Let's speak about one single link 
of a Bezier curve. To get points with minimal distance from some 
point P0 to this link of a Bezier curve, one has to find roots of 5-
order polynom (is this a proper term?) Square of a distance from P0 
to P, belongigng to Bezier curve's link, is a polynom. Its first 
derivate is a polynom too. One has to find its roots, to calculate 
distance from P0 to corresponding points and compare with end points 
of aforesaid link (yep, roots must be between 0 and 1). There is no 
other way to calc minimal distance correctly. Coruse, having more 
than one link (polyBezier) some links could be excluded due to the 
fact that each link lies inside convex polygon, based on control 
points of a Bezier's link. 




-
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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/



[svg-developers] Re: efficient method for calculating min distance from point to curve

2008-09-26 Thread a_matseevsky
--- In svg-developers@yahoogroups.com, Samuel Dagan [EMAIL PROTECTED] 
wrote:

 Hi Jake,
 I've just started to calculate the case of Bezier2, in order to 
obtain
 the algorithm. I am glad that you found the solution. This also 
saved
 me from the calculation.
 
 If a curve is defined by a bunch of points, I propose a simple
 algorithm that should work for most of the cases (excluding some 
cases
 with inflection points):
 (1) Calculate the 3 distances - 2 to the end points of the curve 
and
 one to a middle point.
 (2) Continue with the curve limited by the end point with shortest
 distance and the middle point. Now you are left with a curve of 
about
 half of the length of the previous.
 (3). Calculate the distance of the middle point of the new curve.
 (4). You have now again two end points and and one middle. From 
here
 on repeat (2) and (3) till you get the required minimal distance.
 
 This algorithm lets you calculate number of distances much lower 
than
 the number of the total points of the curve. For instance if you 
have
 1000 points in total, you'll finish with calculating about 10 
distances.
 Good luck, Samy
 
 

Are you kidding? Let's try to imagine 5 points- P1, P2, P3, P4 and 
P5. P1 and P5 are end points, P3 is the middle one. If the distance 
from P0 to P1 is less than distance from P0 to P5, you 
recommendation is to select point P1, P2, P3. Well but why do you 
think, that distance from P0 to P4 cannot be less than from P0 to 
P1?! 





-
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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/



[svg-developers] Re: Math Animated

2008-08-14 Thread a_matseevsky
--- In svg-developers@yahoogroups.com, Samuel Dagan [EMAIL PROTECTED] 
wrote:

 Hi folks,
 
 I would like to announce that the second version of the calculus
 courseware Math Animated has been released (three years after the
 first). Here are some points that could be of interest for this 
community:
 

Hi. I could you recommend to download my prog from 
http://www.smartfills.com/Html/GradientFillsDemo.zip . This is really 
Math and really Animated. Screen is redrawing with 20 fps (25 was too 
fast for my comp- 1.8GHz Athlon). This is what could be implemented 
into SVG without much problems.
Regards, Andrey




-
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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/



[svg-developers] Re: Visual effects, produced by advanced gradient fills

2008-08-12 Thread a_matseevsky
--- In svg-developers@yahoogroups.com, ddailey [EMAIL PROTECTED] wrote:

 Nice! The contour lines that appear through using the buttons 
provide a nice glimpse into what is going on here.
 
 I think the applications of these sorts of gradients are numerous 
and varied.
 
 David

Yeah, I do think so too. This is why I'm trying to implement this (and 
similar ones) methods into comp graphic. Actually, this sort of 
graphic could be implemented into SVG without much problems. Gradient 
fills without meshes requires only set of vertices for each region to 
be painted, so it is simpler than cover region with convex polygon, 
create triangular meshes (or distorted rectangular, as it is realized 
in Illustrator). 




-
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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/



[svg-developers] Visual effects, produced by advanced gradient fills

2008-08-11 Thread a_matseevsky
This is an easy sample of which sort of visual effects can be produced 
by the advanced gradient fills. Prog is available at 
http://www.smartfills.com/Html/GradientFillsDemo.zip . Unzip and run. 
Four buttons with digits change regime a little- they set number of 
colors of an output image. Output rectangle is painted by 
interpolation of random set of vertices, what are randomly moving on 
this rectangle. Nothing more. Course, there could be more things like 
set of non-rectangular regions, but this is probably task for an 
artist more than for a programmer. I wanted only to demonstrate one of 
possible ways how advanced gradient fills could be used. 




-
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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/



[svg-developers] Advanced SVG and animation

2008-07-08 Thread a_matseevsky
Who has an interest to see how advanced gradient fills could be used 
in animation, download a tiny program from 
http://www.smartfills.com/Html/newexamp.zip . Unzip and run. You only 
need move cursor and look at what happens. This sort of vectors could 
be without much problems defined, using SVG constructions (problem 
course, it to get browsers to understand them). This kind of 2D 
interpolation requires only set of vertices plus bounding contour and 
could be done much faster- this demo has no optimization at all. 




-
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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/



[svg-developers] Advanced gradient fills

2008-01-29 Thread a_matseevsky
People, there are things, what can make SVG graphic more flexible and 
impressive. I do know (thanks to Mr. Ferraiolo), that there must be 
serious reasons to expand SVG specification (at least two progs, 
browsers mostly), but on the other hand implementation of advanced 
gradient fills promise so much... For example, RaveGrid is proclaimed 
as an extra quality raster to SVG converter. Well. May be someone 
wants to see, what is really qualitative conversion. Visit 
www.smartfills.com and download SVSViewer. I think, such techique 
could be used in Web with a great benefit too. Small vector files 
looking like nice raster ones, not like a cheap Japanese cartoon.
Andrew M, Kamchatka, Kluchi-1



-
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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/