You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to copy a rectangular region of one image (not the whole image, just a part of it) into another image with alpha blending. The target X,Y coordinates the region should be copied to are different from the original X,Y coordinates of the region. The pixel formats of both images is Bgra32. No scaling or other transformation required.
How would this be done with ImageSharp?
I can't for the life of me not figure out how to do something simple like that with ImageSharp and i feel i must be missing something obvious. I failed to find anything in the API docs (to be honest, i kinda got lost in all these many [edit: classes with extension methods in the various] namespaces, so maybe i overlooked something?) and the sample code does not cover this task.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to copy a rectangular region of one image (not the whole image, just a part of it) into another image with alpha blending. The target X,Y coordinates the region should be copied to are different from the original X,Y coordinates of the region. The pixel formats of both images is Bgra32. No scaling or other transformation required.
How would this be done with ImageSharp?
I can't for the life of me not figure out how to do something simple like that with ImageSharp and i feel i must be missing something obvious. I failed to find anything in the API docs (to be honest, i kinda got lost in all these many [edit: classes with extension methods in the various] namespaces, so maybe i overlooked something?) and the sample code does not cover this task.
EDIT: Two weeks later. He's dead, Jim... 💀
Beta Was this translation helpful? Give feedback.
All reactions