Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Image-Py/imagepy
/ trans
Function
trans
imagepy/ui/canvas.py:40–41 ·
view source on GitHub ↗
(r1, r2)
Source
from the content-addressed store, hash-verified
38
r2[1]=r1[1]+r1[3]-r2[3]
39
40
def
trans(r1, r2):
41
return
[r2[0]-r1[0], r2[1]-r1[1], r2[2], r2[3]]
42
43
@jit
44
def
my_transform(img, m, offset=(0,0), output=None, k=0.5, clip=False):
Callers
1
draw_image
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected