Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed an issue in ColorAtInterpolatedLatticePoint Function where inde… #7

Merged
merged 4 commits into from
Jun 1, 2018

Conversation

khaja84
Copy link
Contributor

@khaja84 khaja84 commented Jun 1, 2018

…x values become float

In ColorAtInterpolatedLatticePoint Function, the index values lowerRedPoint, upperRedPoint, lowerGreenPoint, upperGreenPoint, lowerBluePoint, upperBluePoint sometimes becoming float values such as 15.0. So I converted those values to int type.

After doing so, the issue posted by user Junnu123 "Error Combining LUT" is also resolved .

…x values become float

In  ColorAtInterpolatedLatticePoint Function, the index values  lowerRedPoint, upperRedPoint, lowerGreenPoint, upperGreenPoint, lowerBluePoint, upperBluePoint sometimes becoming float values such as 15.0. So I converted those values to int type.  

After doing so, the issue posted by user Junnu123 "Error Combining LUT" is also resolved .
@gregcotten
Copy link
Owner

I know it’s petty, but if I could convince you to put a single space on both sides of the equals sign and no space between the int and the parentheses I will approve this pull request!

@gregcotten
Copy link
Owner

Just going to mention #6 to link it with the issue.

Added single space on both sides of equal sign and removed space between int and parenthesis.
@gregcotten gregcotten merged commit e669e4b into gregcotten:master Jun 1, 2018
@gregcotten
Copy link
Owner

Looks great! Thanks so much.

@khaja84
Copy link
Contributor Author

khaja84 commented Jun 1, 2018

You are welcome. I appreciate your effort in obtaining various LUT format specifications and implementing various operations on them (whose information is rarely available on the Internet).

If I have time, I will try to implement conversion of other LUT formats and submit a Pull Request.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants