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

Support image texture for channel uniforms #7

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Makio64
Copy link

@Makio64 Makio64 commented Jan 12, 2016

Use PIL to load the image. Tested with png/jpg. The noise by default is remove.

@alexjc
Copy link
Owner

alexjc commented Jan 12, 2016

Awesome PR! Couple of things:

  • Can you make this PR again with mostly unchanged whitespace (instead of converting to tabs). It's hard to read the diff this way.
  • Also, if you make the default None then you can use noise when no file has been specified.

Thanks!

@Makio64
Copy link
Author

Makio64 commented Jan 12, 2016

Ok, I'll do that tomorrow 👍

@JuusoKaari
Copy link

Works like a charm! Very nice work.
But, it also made me wonder, would it be possible to load image sequences / videos too through PIL?

@Makio64
Copy link
Author

Makio64 commented Sep 29, 2016

@JuusoKaari : yes possible, I guess the best should be to use openCV to transform the frame of the video you want to image, and each frame you seek the video to the correct time and redo it.

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

3 participants