class jina.drivers.debug.PngToDiskDriver(workspace, prefix='', top=10, *args, **kwargs)[source]

Bases: jina.drivers.FlatRecursiveMixin, jina.drivers.BaseRecursiveDriver

A driver that can store an intermediate representation of a png in the workspace, under a given folder.

Useful for debugging Crafters in the Flow

  • workspace – the folder where we store the pngs

  • prefix – the subfolder to add to workspace

  • top – limit the pngs to first N

runtime: Optional[ZEDRuntime]