New creates a new SVG processor instance
(config *Config)
| 25 | |
| 26 | // New creates a new SVG processor instance |
| 27 | func New(config *Config) *Processor { |
| 28 | return &Processor{ |
| 29 | config: config, |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | // Process processes the given image data |
| 34 | func (p *Processor) Process(o *options.Options, data imagedata.ImageData) (imagedata.ImageData, error) { |
no outgoing calls