dlemstra / dlemstra/Magick.NET

Is it possible to expose the native pointer version for the ReadPixels method of the MagickImage ?

Open
#1,907 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4k
Forks
451
Avg merge
11h 55m
Merged PRs (30d)
3

Description

### Is your feature request related to a problem? Please describe

_No response_

### Describe the solution you'd like

In my project, image data is from a camera and the sdk of it is using the native pointer. It's not possible to add the conversion from native pointer to the managed byte array due the performance requirement. So I wonder is it possible to expose the native pointer version for the Read method of the MagickImage? https://github.com/dlemstra/Magick.NET/blob/e20f72be429c10e042c697978d7e5fb1ecbf622b/src/Magick.NET/MagickImage.cs#L7855

### Describe alternatives you've considered

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.