Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown fill style type: 0xff #17

Open
ghost opened this issue Jun 30, 2014 · 0 comments
Open

Unknown fill style type: 0xff #17

ghost opened this issue Jun 30, 2014 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 30, 2014

Problem happens when converting a SWF to SVG. (I'm running on Windows 8.1 Pro 64-bit)

Log:

Traceback (most recent call last):
  File "C:\pyswf-master\build\lib\convert.py", line 8, in <module>
    swf = SWF(file)
  File "C:\pyswf-master\build\lib\swf\movie.py", line 87, in __init__
    self.parse(self._data)
  File "C:\pyswf-master\build\lib\swf\movie.py", line 143, in parse
    self.parse_tags(data)
  File "C:\pyswf-master\build\lib\swf\tag.py", line 112, in parse_tags
    tag = self.parse_tag(data)
  File "C:\pyswf-master\build\lib\swf\tag.py", line 130, in parse_tag
    tag.parse(data, raw_tag.header.content_length, tag.version)
  File "C:\pyswf-master\build\lib\swf\tag.py", line 1313, in parse
    self.glyphShapeTable.append(data.readSHAPE(self.unitDivisor))
  File "C:\pyswf-master\build\lib\swf\stream.py", line 200, in readSHAPE
    return SWFShape(self, 1, unit_divisor)
  File "C:\pyswf-master\build\lib\swf\data.py", line 50, in __init__
    self.parse(data, level)
  File "C:\pyswf-master\build\lib\swf\data.py", line 56, in parse
    self.read_shape_records(data, fillbits, linebits, level)
  File "C:\pyswf-master\build\lib\swf\data.py", line 92, in read_shape_records
    style_change_record = data.readSTYLECHANGERECORD(states, fill_bits, line_bits, level)
  File "C:\pyswf-master\build\lib\swf\stream.py", line 216, in readSTYLECHANGERECORD
    return SWFShapeRecordStyleChange(self, states, fill_bits, line_bits, level)
  File "C:\pyswf-master\build\lib\swf\data.py", line 605, in __init__
    super(SWFShapeRecordStyleChange, self).__init__(data, level)
  File "C:\pyswf-master\build\lib\swf\data.py", line 522, in __init__
    self.parse(data, level)
  File "C:\pyswf-master\build\lib\swf\data.py", line 620, in parse
    self.fill_styles.append(data.readFILLSTYLE(level))
  File "C:\pyswf-master\build\lib\swf\stream.py", line 220, in readFILLSTYLE
    return SWFFillStyle(self, level)
  File "C:\pyswf-master\build\lib\swf\data.py", line 757, in __init__
    self.parse(data, level)
  File "C:\pyswf-master\build\lib\swf\data.py", line 770, in parse
    raise Exception("Unknown fill style type: 0x%x" % self.type, level)
Exception: ('Unknown fill style type: 0xff', 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants