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'm trying to draw a rotated image on top of another one.
I found that it was kind of working through doing a Transform on the first image, then drawing it on the second image, but I having some issues, and I wondering if there is a better way, or if .DrawImage() could support the DrawingOption.Transform parameter too ?
The issue I'm still having are:
I need to do a copy of the image first to add Alpha channel, otherwise the transform add black pixel around (which seems normal, but no efficient)
When I rotate an image, the image grow, but the pixel of the image that get rotated outside the image area (on negative coordinate) disappear (On the left and on the top), I suppose I could start with a transform to move the image, but this make the image way bigger and increase memory consumption a lot on big images.
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
-
Hello,
I'm trying to draw a rotated image on top of another one.
I found that it was kind of working through doing a
Transform
on the first image, then drawing it on the second image, but I having some issues, and I wondering if there is a better way, or if .DrawImage() could support theDrawingOption.Transform
parameter too ?The issue I'm still having are:
Beta Was this translation helpful? Give feedback.
All reactions