Poster | Thread |
spotUP
| |
Re: Scalable Vector Graphics (SVG) Datatype Posted on 13-Dec-2006 16:57:26
| | [ #1 ] |
|
|
|
Elite Member |
Joined: 19-Aug-2003 Posts: 2896
From: Up Rough Demo Squad | | |
|
| Rulez! Shame about the black bg in multiview though! Good work as usual Fredrik! _________________ AOS4 Betatester, Peg2, G4@1ghz, Radeon 9250 256mb, 1gb RAM.
http://www.asciiarena.com http://www.uprough.net
|
|
Status: Offline |
|
|
OldFart
| |
Re: Scalable Vector Graphics (SVG) Datatype Posted on 13-Dec-2006 18:00:47
| | [ #2 ] |
|
|
|
Elite Member |
Joined: 12-Sep-2004 Posts: 3066
From: Stad; en d'r is moar ain stad en da's Stad. Makkelk zat! | | |
|
| What kind of graphics is this DT suitable for?
OldFart _________________ Life is a waste of time. Time is a waste of life. Get wasted all the time and you'll have the time of your life!
|
|
Status: Offline |
|
|
FuZion
| |
Re: Scalable Vector Graphics (SVG) Datatype Posted on 13-Dec-2006 18:29:42
| | [ #3 ] |
|
|
|
Super Member |
Joined: 22-Nov-2003 Posts: 1962
From: Birmingham, England | | |
|
| SVG files are vector based files. If you grab the AntiGrain package from OS4 Depot, there's a SVG file in there called Tiger.svg that you should be able to test out.
Cheers for this ssolie. I'm not at my Amiga right now but does yout DT have a scaling feature? And are the images anti-aliased?
FuZion. |
|
Status: Offline |
|
|
Van_M
| |
Re: Scalable Vector Graphics (SVG) Datatype Posted on 13-Dec-2006 18:51:11
| | [ #4 ] |
|
|
|
Member |
Joined: 23-Nov-2003 Posts: 30
From: Athens, Greece | | |
|
| SVG files can be used in many-many applications. Among others, they are kind-of enabling interactive animations on the web (given that you have an SVG capable browser). For example, we are using them in the web-GIS application we are developing. The user can put the mouse over a building block and it changes color. By clicking on that block, its linetype changes and the svg viewer of the browser sends request to the web server and so on. In the coming years, this format will become somewhat of a de-facto for animations on the web, as XML (which SVG is similar to) has become de-facto for on-line transactions. |
|
Status: Offline |
|
|
yoodoo2
| |
Re: Scalable Vector Graphics (SVG) Datatype Posted on 13-Dec-2006 18:59:12
| | [ #5 ] |
|
|
|
Super Member |
Joined: 4-Aug-2003 Posts: 1333
From: Stourbridge, UK | | |
|
| Hmm. I think I need to look at this... _________________ Happiness is mandatory. MindSpace: MindMaps and UML diagrams for OS4
We ran 5 Recursion Computer Fairs before hitting the exit condition
|
|
Status: Offline |
|
|
ssolie
| |
Re: Scalable Vector Graphics (SVG) Datatype Posted on 13-Dec-2006 20:41:35
| | [ #6 ] |
|
|
|
Elite Member |
Joined: 10-Mar-2003 Posts: 2755
From: Alberta, Canada | | |
|
| @FuZion Quote:
Cheers for this ssolie.... |
Not my doing. I just reported the news. _________________ ExecSG Team Lead
|
|
Status: Offline |
|
|
amipal
| |
Re: Scalable Vector Graphics (SVG) Datatype Posted on 13-Dec-2006 22:52:53
| | [ #7 ] |
|
|
|
Super Member |
Joined: 8-Apr-2003 Posts: 1907
From: Saltdean, East Sussex, UK | | |
|
| @FuZion Quote:
SVG files are vector based files. If you grab the AntiGrain package from OS4 Depot, there's a SVG file in there called Tiger.svg that you should be able to test out. |
As FuZion so rightly pointed out, available here: http://os4depot.net/share/development/library/agg2sdk.lha
:edit The SVG file doesn't exist in this archive, got the wrong one! Scroll down a bit for the proper one.Last edited by amipal on 14-Dec-2006 at 05:00 PM.
_________________ After a decade away from the scene, I am back!
|
|
Status: Offline |
|
|
ggw
| |
Re: Scalable Vector Graphics (SVG) Datatype Posted on 14-Dec-2006 4:31:47
| | [ #8 ] |
|
|
|
Super Member |
Joined: 24-May-2003 Posts: 1106
From: Austin, TX | | |
|
| @amipal
Don't be so terse!
I clicked your provided link for us. Download the thing. Stuck it in my :apps, all 4 megs. THEN I looked for ANY thing with tiger OR svg. Not one sticking files in all 840 that I have here.
So trudged back and read the fine print you posted. Though the seeming point was to try out svg and the posts talked about Tiger, YOU weren't talking about /that/.
Dang it [to no one in particular]. There are *3* AntiGrain files over there (none of them with AntiGrain in the filespec mind you). I guess I chose the wrong one. No svg files in there. Bah. I'm going to bed.
ggw Last edited by ggw on 14-Dec-2006 at 04:50 AM.
_________________ ..effects of civilization upon...nature, the growing gap between what education was supposed to accomplish and what it consisted of, the national debt and...high taxes, the problem of the excess cost of medical care -- Philip Wylie, 1951
|
|
Status: Offline |
|
|
FuZion
| |
Re: Scalable Vector Graphics (SVG) Datatype Posted on 14-Dec-2006 8:13:27
| | [ #9 ] |
|
|
|
Super Member |
Joined: 22-Nov-2003 Posts: 1962
From: Birmingham, England | | |
|
| |
Status: Offline |
|
|
nicomen
| |
Re: Scalable Vector Graphics (SVG) Datatype Posted on 14-Dec-2006 12:59:12
| | [ #10 ] |
|
|
|
Cult Member |
Joined: 5-Nov-2003 Posts: 539
From: Trondheim, Norway | | |
|
| |
Status: Offline |
|
|
amipal
| |
Re: Scalable Vector Graphics (SVG) Datatype Posted on 14-Dec-2006 16:47:46
| | [ #11 ] |
|
|
|
Super Member |
Joined: 8-Apr-2003 Posts: 1907
From: Saltdean, East Sussex, UK | | |
|
| @ggw Quote:
Oops, see what happens when I jump to conclusions! Sorry! _________________ After a decade away from the scene, I am back!
|
|
Status: Offline |
|
|
ggw
| |
Re: Scalable Vector Graphics (SVG) Datatype Posted on 15-Dec-2006 5:37:14
| | [ #12 ] |
|
|
|
Super Member |
Joined: 24-May-2003 Posts: 1106
From: Austin, TX | | |
|
| I'm in a better mood this evening. I downloaded the 8Megs of AGG. Very pretty graphics demos. I finally got to the bottom for the tiger.svg. Double clicked. Multivew reports: unknown data type for tiger.svg [Continue]
6> list OS4:Classes/DataTypes/svg.datatype Directory "OS4:Classes/DataTypes" on Thursday 14-Dec-06 svg.datatype 1778549 ----rwed Tuesday 20:34:14
6> list Devs:DataTypes/svg Directory "Devs:DataTypes" on Thursday 14-Dec-06 svg 112 ----rwed Tuesday 20:21:42
So what am I doing wrong?
ggw _________________ ..effects of civilization upon...nature, the growing gap between what education was supposed to accomplish and what it consisted of, the national debt and...high taxes, the problem of the excess cost of medical care -- Philip Wylie, 1951
|
|
Status: Offline |
|
|
salass00
| |
Re: Scalable Vector Graphics (SVG) Datatype Posted on 15-Dec-2006 7:04:44
| | [ #13 ] |
|
|
|
Elite Member |
Joined: 31-Oct-2003 Posts: 2707
From: Finland | | |
|
| @ggw
Works OK here (tried with the same file).
Sounds like a problem with the descriptor file.
You did copy the file "SVG" to Devs/Datatypes/? Did you copy the icon also? After this you either need to do a reboot or doubleclick the descriptor file for it to be added to the system. |
|
Status: Offline |
|
|
salass00
| |
Re: Scalable Vector Graphics (SVG) Datatype Posted on 15-Dec-2006 7:10:15
| | [ #14 ] |
|
|
|
Elite Member |
Joined: 31-Oct-2003 Posts: 2707
From: Finland | | |
|
| @Fuzion
Quote:
I'm not at my Amiga right now but does yout DT have a scaling feature? |
IIRC the OS4 picture.datatype supports scaling by itself. This is only bitmap scaling though, so results may not be so good. I have thought about overriding the method with a proper vector scale assuming this is possible with libsvg-cairo, but before that I'd like to fix some of the other problems.
Quote:
And are the images anti-aliased? |
Yes, they are. Thanks to libcairo, I think.Last edited by salass00 on 15-Dec-2006 at 07:11 AM.
|
|
Status: Offline |
|
|
salass00
| |
Re: Scalable Vector Graphics (SVG) Datatype Posted on 15-Dec-2006 7:19:02
| | [ #15 ] |
|
|
|
Elite Member |
Joined: 31-Oct-2003 Posts: 2707
From: Finland | | |
|
| @Van_M
Quote:
...as XML (which SVG is similar to)...
|
That I think is quite an understatement considering it's not just "similar" to xml. It is in fact based on xml, much like ILBM, 8SVX, ANIM, SMUS, AIFF, etc. are all "similar" to IFF (all are IFF based formats, IFF being just a "wrapper" format much like xml is). |
|
Status: Offline |
|
|