Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @property
- def size(self):
- pixel_width = self.Width - self.XOffset
- pixel_height = self.Height - self.YOffset
- # return x,y Note numpy and PIL want row,col which will be [1],[0]
- return (pixel_width,pixel_height)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement