stegosphere.containers.image package

Submodules

stegosphere.containers.image.image module

A module for image containers

class stegosphere.containers.image.image.ImageContainer(image)

Bases: Container

File container for image files.

flush(pixels)

Flush pixels into container

read()

Read pixels

save(path, flush=None)

Save image to path

Parameters:
  • path (str) – Path to save file

  • flush (numpy.ndarray | None) – Data to flush before saving

Returns:

None

Module contents

class stegosphere.containers.image.ImageContainer(image)

Bases: Container

File container for image files.

flush(pixels)

Flush pixels into container

read()

Read pixels

save(path, flush=None)

Save image to path

Parameters:
  • path (str) – Path to save file

  • flush (numpy.ndarray | None) – Data to flush before saving

Returns:

None