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

imwrite should accept lazy slice #63

Open
9il opened this issue Oct 2, 2016 · 0 comments
Open

imwrite should accept lazy slice #63

9il opened this issue Oct 2, 2016 · 0 comments

Comments

@9il
Copy link
Member

9il commented Oct 2, 2016

  • lazy image / image with sride!1 != 1 -> buffering (4 KB buffer) -> writer stream
  • image with srride!1 == 1 -> writer stream
  • image with ideal strides -> writer stream (single call).

For example void write_png(Writer stream, long w, long h, in ubyte[] data, long tgt_chans = 0) from image formats can be used.

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

No branches or pull requests

1 participant