You Are Here:

Community: Developer Discussion Boards

#1 Old working with W3C Scalable Vector Graphics (SVG) format - 2008-05-13, 08:48

Join Date: Mar 2007
Posts: 153
novis
Offline
Regular Contributor
Hello,
does anyone know about a python library that can compute an image from a SVG-File (W3C Scalable Vector Graphics format)?

Or are we able in python to display vector graphics in another way?

Thx
novis
Reply With Quote

#2 Old Re: working with W3C Scalable Vector Graphics (SVG) format - 2008-05-14, 08:13

Join Date: Mar 2003
Posts: 937
Location: Espoo, Finland
JOM's Avatar
JOM
Offline
Forum Nokia Champion
Quote:
Originally Posted by novis View Post
does anyone know about a python library that can compute an image from a SVG-File (W3C Scalable Vector Graphics format)?
You might be able to display a full screen SVG image using a content handler?

Cheers,

--jouni
Reply With Quote

#3 Old Re: working with W3C Scalable Vector Graphics (SVG) format - 2008-05-14, 14:42

Join Date: Mar 2007
Posts: 153
novis
Offline
Regular Contributor
thx for your answer JOM,
I just want to know if it is possible using python.

My questions are:
1. Is there a ready to use content handler as I couldn't find any for pys60?

2. If there is no content-handler avaliable: Are we able to write our own content handler using python only? e.g I don't know if it is possible in python to render a *.png from SVG-data.

Thx
novis
Reply With Quote

#4 Old Re: working with W3C Scalable Vector Graphics (SVG) format - 2008-05-14, 14:45

Join Date: Mar 2007
Posts: 153
novis
Offline
Regular Contributor
thx for your answer JOM,
I just want to know if it is possible using python.

My questions are:
1. Is there a ready to use content handler as I couldn't find any for pys60?

2. If there is no content-handler avaliable: Are we able to write our own content handler using python only? e.g I don't know if it is possible in python to render a *.png from SVG-data.

3. How can I directly display SVG-XML-data using python?

Thx
novis
Reply With Quote

#5 Old Re: working with W3C Scalable Vector Graphics (SVG) format - 2008-05-14, 22:54

Join Date: Mar 2003
Posts: 937
Location: Espoo, Finland
JOM's Avatar
JOM
Offline
Forum Nokia Champion
Quote:
Originally Posted by novis View Post
1. Is there a ready to use content handler as I couldn't find any for pys60?
Please check manual chapter "5.1.9 Content_handler type" and discussion thread http://discussion.forum.nokia.com/fo...d.php?t=132606.

Basically "content handler" is a system ECOM plugin, which is registered to process certain MIME types. What it actually does with the data is something different, could be anything.

Quote:
Originally Posted by novis View Post
2. If there is no content-handler avaliable: Are we able to write our own content handler using python only?
No, you cannot create a new system content handler ECOM plugin with python only. Would like to say it's totally impossible, but since I haven't tried it myself, I don't know for sure. Would be happily surprised, if it's possible.

Quote:
Originally Posted by novis View Post
3. How can I directly display SVG-XML-data using python?
Hmph, I believe S60 should be able to handle SVG Tiny. Not sure about SVG-XML-data.

Cheers,

--jouni
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
UI widgets in svg format? digitalmonkey Mobile Java Tools & SDKs 0 2007-02-14 01:46
HOWTO: SVG Application icons stenlik Symbian User Interface 1 2007-01-11 23:16
jsr226 m2g svg in Prototype 4.0 SDK not working at higher resolution (176x208 works) thunder7553 Mobile Java Media (Graphics & Sounds) 0 2006-03-09 13:47
TinyLine SVG Minute Toolkit: Optimizing SVG for J2ME girow Mobile Java Media (Graphics & Sounds) 0 2003-05-05 19:44
TinyLine SVG Minute Toolkit for J2ME: version 1.4 released girow Mobile Java General 0 2003-05-05 17:25

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia