-
-
Notifications
You must be signed in to change notification settings - Fork 295
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
Encode Grid #1180
Encode Grid #1180
Conversation
The name tile is more specific as it implies that it's part of a grid
Thank you. This is nice to have. In the future, we should have another way to build the grid image step by step by adding tiles one by one, but this is a nice convenience function that can still come in handy. |
Great, thanks for merging. I also wanted a mechanism for encoding grids that are internal to the codec (for example, the uncompressed codec). But I wasn't sure what the best way to do this was. |
Interesting question. |
It should be possible to write tiles one-by-one. There is a way to say "each of these extents needs to be done separately", and to specify the range. That opens up the possibility to recycle the bits in one tile that is used to fill many grid spots (e.g. when using a map, and there is a lot of blue ocean; or when making black fill tiles for an image that is rotated to be north-up). |
LIBHEIF_API
struct heif_error heif_context_encode_grid()
Resolves #1176, resolves #648