(vfChain: string, pixelFormat: string)
| 40 | * dimensions, and returns just the pad when there is no existing chain. |
| 41 | */ |
| 42 | export function withEvenDimensionPad(vfChain: string, pixelFormat: string): string { |
| 43 | if (!requiresEvenDimensions(pixelFormat)) return vfChain; |
| 44 | return vfChain ? `${vfChain},${EVEN_DIMENSION_PAD}` : EVEN_DIMENSION_PAD; |
| 45 | } |
no test coverage detected