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

Calling the Magick.Image constructor with null creates an invalid image #35

Closed
mmomtchev opened this issue Sep 27, 2023 · 0 comments · Fixed by #36
Closed

Calling the Magick.Image constructor with null creates an invalid image #35

mmomtchev opened this issue Sep 27, 2023 · 0 comments · Fixed by #36

Comments

@mmomtchev
Copy link
Owner

const im = Magick.Image(null);

SWIG exposes the Magick::Image::Image(MagickCore::Image *) constructor which despite being public is not supposed to be used by the end user

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

Successfully merging a pull request may close this issue.

1 participant