Exporting to html/css doesn't work

Discuss SVG code, accessible via the XML Editor.
Nonemoticoner
Posts: 8
Joined: Sat Dec 18, 2010 8:12 pm

Exporting to html/css doesn't work

Postby Nonemoticoner » Sun Dec 19, 2010 8:15 pm

I wanted to export my lay-out using this option, but i failed ;/

Code: Select all

Traceback (most recent call last):

  File "webslicer_export.py", line 421, in <module>

    e.affect()

  File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 215, in affect

    self.effect()

  File "webslicer_export.py", line 103, in effect

    error = self.validate_inputs()

  File "webslicer_export.py", line 74, in validate_inputs

    self.unique.html"http://img600.imageshack.us/img600/1110/ink.png" class="postimage" alt="Image" />

Nonemoticoner
Posts: 8
Joined: Sat Dec 18, 2010 8:12 pm

Re: Exporting to html/css doesn't work

Postby Nonemoticoner » Sun Dec 26, 2010 6:12 am

No-one can help me...?

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Exporting to html/css doesn't work

Postby brynn » Sun Dec 26, 2010 12:24 pm

Hi Nonemoticoner, welcome to the site!

I'm sorry no one has answered. For me, I don't know much at all about SVG/XML. But I can take a stab at the 2nd part, and hopefully someone else can handle the code issue.

In the screenshot, what is the dotted line? Is it part of the image, or the selection indicator? Where is the image being cut off -- page border or other? And the filter is the drop shadow/blur? Or is the black also part of the filter? It looks like your page or canvas is too small for the image, and when you exported, the part outside the border was cut off. But the dotted line is thowing me off from being certain.

But then again, if you're doing all this via SVG/XML, I may not be able to help at all.

Nonemoticoner
Posts: 8
Joined: Sat Dec 18, 2010 8:12 pm

Re: Exporting to html/css doesn't work

Postby Nonemoticoner » Sun Dec 26, 2010 11:33 pm

brynn wrote:In the screenshot, what is the dotted line? Is it part of the image, or the selection indicator? Where is the image being cut off -- page border or other? And the filter is the drop shadow/blur? Or is the black also part of the filter? It looks like your page or canvas is too small for the image, and when you exported, the part outside the border was cut off. But the dotted line is thowing me off from being certain.

Image
Maybe this picture will be better... As you can see, filtrs been cutted off by dotted line:
Image
It happens with any filtr... It makes all my pictures with filters retarded... Filtrs can't cross dotted line...

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Exporting to html/css doesn't work

Postby brynn » Mon Dec 27, 2010 2:30 pm

You're gonna have to tell me what the dotted line is. Until I know where it comes from, I don't know why the filter is cut off there.

Or if you could upload an SVG file, I could examine it myself.

Nonemoticoner
Posts: 8
Joined: Sat Dec 18, 2010 8:12 pm

Re: Exporting to html/css doesn't work

Postby Nonemoticoner » Tue Dec 28, 2010 5:06 am

Get download file...
Attachments
see.svg
(6.78 KiB) Downloaded 270 times

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: Exporting to html/css doesn't work

Postby druban » Tue Dec 28, 2010 5:21 am

:)
Last edited by druban on Thu Jan 06, 2011 7:39 am, edited 1 time in total.
Your mind is what you think it is.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Exporting to html/css doesn't work

Postby brynn » Tue Dec 28, 2010 5:47 pm

Ok, I see where the stroke is missing from the bottom part:
Image

Is that it? The even weirder thing is that your object does not have a stroke! If I remove the filter (Filter menu > Remove Filter), the red object has no stroke. And then if I re-apply the Bark filter, there is no stroke:
Image

So I'm not sure if the problem is the stroke missing from the bottom, or the stroke existing on the rest of the object?? :?

I'm gonna have to bow out of troubleshooting this now. Because not only do I not understand XML, I don't know what would cause the problem in your sample file. Unless you have more info to add about the stroke? Maybe it's something to do with the XML?

Another oddity -- you're object with the "stroke" shows a Blur of 1.3. But after I remove the filter, there's no blur. And after I re-apply the filter, there's still no blur. So you have a stroke and a blur that somehow don't really exist!

I'm baffled! Image

Nonemoticoner
Posts: 8
Joined: Sat Dec 18, 2010 8:12 pm

Re: Exporting to html/css doesn't work

Postby Nonemoticoner » Thu Jan 06, 2011 6:34 am

Image

Btw. i don't care about XML in this picture, i care only about filters...
Attachments
see2.svg
That what you can see on picture...
(31.63 KiB) Downloaded 250 times


Return to “SVG / XML Code”