( ctx context.Context, img *vips.Image, po ProcessingOptions, imgdata imagedata.ImageData, asAnimated bool, )
| 360 | } |
| 361 | |
| 362 | func (p *Processor) transformImage( |
| 363 | ctx context.Context, |
| 364 | img *vips.Image, |
| 365 | po ProcessingOptions, |
| 366 | imgdata imagedata.ImageData, |
| 367 | asAnimated bool, |
| 368 | ) error { |
| 369 | if asAnimated { |
| 370 | return p.transformAnimated(ctx, img, po) |
| 371 | } |
| 372 | |
| 373 | return p.mainPipeline().Run(ctx, img, po, imgdata) |
| 374 | } |
| 375 | |
| 376 | func (p *Processor) transformAnimated( |
| 377 | ctx context.Context, |
no test coverage detected