yuuno.output.pil2png module

class yuuno.output.pil2png.YuunoImageOutput(**kwargs)[source]

Bases: traitlets.config.configurable.Configurable

Defines an output for PNG-files

bytes_of(im: yuuno.clip.Frame) → bytes[source]

Converts the frame into a bytes-object containing the frame as a PNG-file.

Parameters:im – the frame to convert.
Returns:A bytes-object containing the image.
icc_profile

A trait for unicode strings.

yuuno

A trait which allows any value.

zlib_compression

A casting version of the int trait.