Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 750 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 750 Bytes

SWF Adobe Flash file (only info about file)

Build Status GoDoc Software License

Installation

$ go get github.com/mantyr/swf

Example

package main

import (
    "github.com/mantyr/swf"
    "fmt"
)

func main() {
    s, err := swf.Open("./testdata/f0673319418b054b4f108c18736a042f5dcec4e2123401c48a727dfaab7354ef.swf")
    fmt.Println(s.Width())  // 640
    fmt.Println(s.Height()) // 480
}

Author

Oleg Shevelev