Skip to content

Instantly share code, notes, and snippets.

@DaveVoyles
Created May 29, 2015 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DaveVoyles/3ee4f93f0b57e1559e8e to your computer and use it in GitHub Desktop.
Save DaveVoyles/3ee4f93f0b57e1559e8e to your computer and use it in GitHub Desktop.
Applying image and video filters to getUserMedia
/* image * video filters */
.grayscale {
-webkit-filter: grayscale(1);
-moz-filter: grayscale(1);
-ms-filter: grayscale(1);
filter: grayscale(1);
}
.sepia {
-webkit-filter: sepia(1);
-moz-filter: sepia(1);
-ms-filter: sepia(1);
filter: sepia(1);
}
.blur {
-webkit-filter: blur(3px);
-moz-filter: blur(3px);
-ms-filter: blur(3px);
filter: blur(3px);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment