Skip to content

String params on some methods #40

Answered by dlemstra
Gounlaf asked this question in Q&A
Discussion options

You must be logged in to vote

The arguments for MagickImage_Annotate are char * because the drawInfo needs a char *. This is done because it wants to cleanup the text and geometry/boundingArea. But I am already preventing ImageMagick from doing that because I need to free the memory on the C# side. I could change those arguments into const char * for the Native library and do the typecast inside the MagickImage_Annotate method if that would help you.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Gounlaf
Comment options

Gounlaf Feb 9, 2024
Author Sponsor

@dlemstra
Comment options

@Gounlaf
Comment options

Gounlaf Feb 9, 2024
Author Sponsor

Answer selected by Gounlaf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants