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

Xflow: Internal type for grayscale images #6

Open
lachsen opened this issue Jun 7, 2013 · 0 comments
Open

Xflow: Internal type for grayscale images #6

lachsen opened this issue Jun 7, 2013 · 0 comments

Comments

@lachsen
Copy link
Contributor

lachsen commented Jun 7, 2013

We should support storing grayscale images more efficiently.
Currently we only support image with RGBA colors. For grayscale images, we only use 25% of the memory. We probably should introduce fake ImageData for grayscale images that are mapped to proper RGBA images if required.

Since it is not possible to declare grayscale images with XML3D (the Web only understands RGBA), we will only have grayscale images as internal type.

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

1 participant