Implementing custom processor method without forking #1514
-
Hi! I would like to implement my own parallelization in the ResizeProcessor, replacing the ParallelRowIterator. |
Beta Was this translation helpful? Give feedback.
Answered by
antonfirsov
Jan 20, 2021
Replies: 1 comment 1 reply
-
We don't have extension points for processors, but instead of forking I would strongly recommend to copy the code of Out of curiosity: why do you want to replace |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Luko6
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We don't have extension points for processors, but instead of forking I would strongly recommend to copy the code of
ResizeProcessor
andResizeProcessor<T>
and useimageProcessingContext.ApplyProcessorn(new MyResizeProcessor(...))
.Out of curiosity: why do you want to replace
ParallelRowIterator
? Is there anything we can improve there instead?