Skip to content

Drawing on new image - mutate method is not available on Image<T> class #2960

Answered by tocsoft
pcgeek86 asked this question in Q&A
Discussion options

You must be logged in to vote

The ImageSharp APIs are primarily built as as extension methods on top of Image

The Mutate and Clone APIs are actaully in SixLabors.ImageSharp.Processing.ProcessingExtensions then a lot of the high level operations (Resize, Rotate etc) that are applied to the IImageProcessingContext are also extension methods in the same namespace.

I'm afraid to say our API is optimised for C# and extensibility (hence all the extension methods) so using them directly in powershell is likely to be a bit of a mess so good luck and I hope you manage to wire something together that doesn't end up too ugly.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pcgeek86
Comment options

Answer selected by pcgeek86
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