-
-
Notifications
You must be signed in to change notification settings - Fork 854
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
Passing Unmanaged Pointer as Pixels buffer in ImageSharp #88
Comments
In addition especially for server side processing, as right now images allocate array on the .NET Heap ( which inevitable end up on the LOH etc.. ) it would be great to use this to store the image data in off heap memory using unsafe operations... maybe introduce a base interface like IPixelStorage with a provider IPixelStorageProvider that allows different strategies to be put int |
We are currently waiting for reliable VS2017 tooling (for C#7 ref returns) and for new official I think we could introduce design changes based on these features. 👍 for something like |
I see, so it potentially possible that Mono would not be supported in this case. (I don't know if it's still maintained to backport Corefx.) |
No that should be fine. Mono supports NetStandard https://blog.xamarin.com/net-standard-library-support-for-xamarin/ |
For implementations plans see: #565. |
Part of Wayland development is that I create a Shared Memory Buffer that is being used between processes and I wanted to eliminate the amount of buffer copying between ImageSharp and Shared Memory Buffer. If implemented, we may actually be able to see a relatively fast User Interface on Linux for C# that is easy to use for everyone.
Can ImageSharp implement a safe api that accepts IntPtr for Argb or other image format pixel buffer? (Width/height/strides can be provided if needed.)
Please and thank you
The text was updated successfully, but these errors were encountered: