Advertisement
Guest User

Untitled

a guest
Feb 11th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. averageColor img topX topY width height
  2. RESULT: Average RGB-color of square inside of img where square is specified by topX, topY, width, height
  3. averageColor :: Image -> Float -> Float -> Float -> Float -> RGBColor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement