Skip to content

Shapes and Image layers can not be created #15

Open
@dirkschulze

Description

@dirkschulze

Under unclassified circumstances, svgOMGeneratorShape an svgOMGeneratorImage can fall through all instances and fails. In this case, inOM doesn't have a shapeBounds property and svgOMG crashes in svgWriter.js.

I need to check the details. I can just imagine that for svgOMGeneratorShape we neither fulfill the requirements for a basic shape (circle, ellipse, rect) nor do have path data.

For image we don't seem to have rawPixels as property and therefor fail.

First, we maybe should mark these svgOMs that do not have a mapping to one of the known types and skip them in svgWriter at least.

Second, identify the actual cause of this problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions