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

Post-divide alpha from pixels in eq::Image::writeImage() #508

Merged
merged 1 commit into from
Nov 6, 2015

Conversation

tribal-tec
Copy link
Member

No description provided.

LBERROR << "Can't open " << filename << " for writing" << std::endl;
return false;
convertedData = new unsigned char[nPixels*4];
memcpy( convertedData, data, nPixels*4 );
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need - take pixel from data, deposited in convertedData in for loop

@eile eile self-assigned this Nov 6, 2015
eile added a commit that referenced this pull request Nov 6, 2015
Post-divide alpha from pixels in eq::Image::writeImage()
@eile eile merged commit 26b1c2a into Eyescale:master Nov 6, 2015
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.

2 participants