Resolve one output role to the exact PNG profile its writer must emit.
A waveform or spectrogram picture takes the fixed size the engine's
sound-evidence writers draw, and width and height are ignored for it. A
preview or guide-frame picture takes the authored raster passed in
width and height, in pixels. Every other profile field is the one
literal the writers support: 8-bit straight-alpha RGBA, sRGB, square,
upright and not interlaced. Throws when the resolved raster is not a
positive safe-integer size, which includes a preview or guide frame called
without one.
Resolve one output role to the exact PNG profile its writer must emit.
A
waveformorspectrogrampicture takes the fixed size the engine's sound-evidence writers draw, andwidthandheightare ignored for it. Aprevieworguide-framepicture takes the authored raster passed inwidthandheight, in pixels. Every other profile field is the one literal the writers support: 8-bit straight-alpha RGBA, sRGB, square, upright and not interlaced. Throws when the resolved raster is not a positive safe-integer size, which includes a preview or guide frame called without one.