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
Judging from the issue title, "subimage rectangle's MIN point is not (0,0)", I assume that you are expecting that dstimage's rectangle starts at (0, 0).
In other words, the "What did you expect to see?" and "What did you see instead?" sections' contents should be swapped around.
Judging from the issue title, "subimage rectangle's MIN point is not (0,0)", I assume that you are expecting that dstimage's rectangle starts at (0, 0).
In other words, the "What did you expect to see?" and "What did you see instead?" sections' contents should be swapped around.
yeah, i will mod it
leexingliang
changed the title
image/draw: subimage rectangle's MIN point is not (0,0)
image/draw: subimage rectangle's MIN point is not start (0,0)
Aug 18, 2019
What version of Go are you using (
go version
)?go version go1.12.1 linux/amd64
Does this issue reproduce with the latest release?
Not
What operating system and processor architecture are you using (
go env
)?What did you do?
I want to capture part of the RGBA image with rectangle by using image.RGBA.SubImage funcation.
What did you expect to see?
that equal image.Rect(0, 0, rect.Dx(), rect.Dy())
What did you see instead?
for above code
The text was updated successfully, but these errors were encountered: