×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Sep 2006
    Posts
    101

    Usage of svg with embedded image??

    Hello,

    can somebody give me a hint if it's possible to use svg with an embedded image at S60 3rd Edition?

    Code:
    <?xml version="1.0" standalone="no"?>
    <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
    <svg width="570" height="510" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
      <desc>This graphic links to an external image
      </desc>
      <image x="0" y="0" width="563px" height="504px"
             xlink:href="FHBereich.bmp">
        <title>My image</title>
      </image>
    </svg>
    Thanks in advance!

  2. #2
    Regular Contributor
    Join Date
    Sep 2006
    Posts
    101

    Re: Usage of svg with embedded image??

    Hello again,

    I really need help in this case.

    I already know that I can only embed jpg or png in SVG-Tiny files.
    So I cannot embed bmp like I decribed in the previous comment.

    I thought that the s60 platform can show jpg files (see 'Gallery').
    But it doesn't work to show a svg image with an embedded jpg-file.

    So can somebody help me? Can somebody tell me if it should work in general or not?

    I would be really thankful if somebody could give me an hint!

  3. #3
    Registered User
    Join Date
    Feb 2006
    Location
    London
    Posts
    34

    Re: Usage of svg with embedded image??

    I have found that the use of the image tag sometimes works.
    Some of the svg's that i use work with an embedded image and others don't. I have not been able to figure out what is causing some of them not to work. So i am trying to work around using embedded images.

    The svg's that i am using have embedded png images in them and as i said above, they work some of the time.

  4. #4
    Regular Contributor
    Join Date
    Sep 2006
    Posts
    101

    Re: Usage of svg with embedded image??

    Thanks for your answer. That helps me a lot.

    Because now I know that it works sometimes. So I can play around and hope that I will get an working svg file (with an embedded image).

    Can you maybe give me an example of an working svg file with an embedded image?
    Maybe I did something wrong in the svg file?

    And do you use AknIconUtils::CreateIconL(...) and AknIconUtils::SetSize(..) and
    gc.BitBlt(...) to create and show your svg file?

    Thanks in advance.

Similar Threads

  1. Opening a JPEG Image
    By ummarbhutta in forum Mobile Java Media (Graphics & Sounds)
    Replies: 8
    Last Post: 2007-02-15, 06:34
  2. SVG image rendering problem..
    By pankaj_hotwani in forum Mobile Java General
    Replies: 5
    Last Post: 2006-08-31, 13:08
  3. how to cut some part of Image
    By mshouab in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-08-04, 09:05
  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
  •