×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Mar 2007
    Posts
    153

    working with W3C Scalable Vector Graphics (SVG) format

    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

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Espoo, Finland
    Posts
    976

    Re: working with W3C Scalable Vector Graphics (SVG) format

    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

  3. #3
    Regular Contributor
    Join Date
    Mar 2007
    Posts
    153

    Re: working with W3C Scalable Vector Graphics (SVG) format

    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

  4. #4
    Regular Contributor
    Join Date
    Mar 2007
    Posts
    153

    Re: working with W3C Scalable Vector Graphics (SVG) format

    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

  5. #5
    Super Contributor
    Join Date
    Mar 2003
    Location
    Espoo, Finland
    Posts
    976

    Re: working with W3C Scalable Vector Graphics (SVG) format

    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

Similar Threads

  1. UI widgets in svg format?
    By digitalmonkey in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2007-02-14, 00:46
  2. HOWTO: SVG Application icons
    By stenlik in forum Symbian User Interface
    Replies: 1
    Last Post: 2007-01-11, 22:16
  3. jsr226 m2g svg in Prototype 4.0 SDK not working at higher resolution (176x208 works)
    By thunder7553 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2006-03-09, 12:47
  4. TinyLine SVG Minute Toolkit: Optimizing SVG for J2ME
    By girow in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2003-05-05, 18:44
  5. TinyLine SVG Minute Toolkit for J2ME: version 1.4 released
    By girow in forum Mobile Java General
    Replies: 0
    Last Post: 2003-05-05, 16:25

Posting Permissions

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