Skip to content

Create a class to hold image data #158

@lars-reimann

Description

@lars-reimann

Is your feature request related to a problem?

Plotting methods currently do not produce a result but instead use the show method of matplotlib to display the result in a notebook environment (or PyCharm) as a side effect. More generally, we can currently only work with tabular data in safe-ds.

Desired solution

  • Create a new class Image in safeds.data.image.containers
  • The constructor should accept a buffer of type io.BytesIO
  • Internally we can use pillow to handle the image

Possible alternatives (optional)

No response

Screenshots (optional)

No response

Additional Context (optional)

No response

Metadata

Metadata

Assignees

Labels

releasedIncluded in a release

Type

No type

Projects

Status

✔️ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions