Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check why image layers come back incorrectly #149

Open
github-actions bot opened this issue Jul 5, 2021 · 0 comments
Open

check why image layers come back incorrectly #149

github-actions bot opened this issue Jul 5, 2021 · 0 comments

Comments

@github-actions
Copy link
Contributor

github-actions bot commented Jul 5, 2021

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")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants