generated from treeform/nimtemplate
-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Hello!
I work with large images for geosciences with Nim and I was looking for an efficient rasterizer while keeping everything in memory
To archieve this, working with sizeof(pixel) <= 8 bits is a must
Cairo has FORMAT_A1 and FORMAT_A8 for this
https://www.cairographics.org/documentation/pycairo/3/reference/constants.html#cairo-format
FORMAT_A8 is the easiest way to work on the gpu like
glTexImage2D(GL_TEXTURE_2D, 0, GL_RED, width, height, 0, GL_RED, GL_UNSIGNED_BYTE, image_data);I strongly prefer a 100% Nim solution, is Pixie capable of working with single channel images?
Metadata
Metadata
Assignees
Labels
No labels