alpha value is not normalized to [0,1] #4

Closed
bgrins opened this Issue Apr 25, 2012 · 3 comments

Comments

Projects
None yet
2 participants
@bgrins
Owner

bgrins commented Apr 25, 2012

No description provided.

@bgrins

This comment has been minimized.

Show comment Hide comment
@bgrins

bgrins May 9, 2012

Owner

If alpha is passed in as 255, should it be converted to 1? That leaves an edge case where you meant 1 in the range [0, 255] and it gets interpreted as 255. Maybe we should just document that the input needs to be in range [0, 1]?

Owner

bgrins commented May 9, 2012

If alpha is passed in as 255, should it be converted to 1? That leaves an edge case where you meant 1 in the range [0, 255] and it gets interpreted as 255. Maybe we should just document that the input needs to be in range [0, 1]?

@BYK

This comment has been minimized.

Show comment Hide comment
@BYK

BYK Sep 11, 2012

I would vote for [0,1] range.

BYK commented Sep 11, 2012

I would vote for [0,1] range.

@bgrins

This comment has been minimized.

Show comment Hide comment
@bgrins

bgrins Nov 28, 2012

Owner

Setting invalid values to 1 now, so this is fixed

Owner

bgrins commented Nov 28, 2012

Setting invalid values to 1 now, so this is fixed

@bgrins bgrins closed this Nov 28, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment