Skip to content

check why image layers come back incorrectly #149

@github-actions

Description

@github-actions

Line: 39

status, colour_image, depth_image = self.get_frame()
r_colour_image = np.rot90(colour_image, 3)
# TODO: check why image layers come back incorrectly
bimg = Image.fromarray(r_colour_image, "RGB")
b, g, r = bimg.split()
img = Image.merge("RGB", (r, g, b))
img.save("test.png")
img_byte = io.BytesIO()
img.save(img_byte, format="PNG")

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions