Need to swiftly black out picture in HTML 5 App & Website Proposal? Look no further - DocHub has the solution! You can get the work completed fast without downloading and installing any software. Whether you use it on your mobile phone or desktop browser, DocHub enables you to edit HTML 5 App & Website Proposal anytime, at any place. Our feature-rich solution comes with basic and advanced editing, annotating, and security features, suitable for individuals and small companies. We also offer plenty of tutorials and instructions to make your first experience effective. Here's an example of one!
You don't need to worry about data protection when it comes to HTML 5 App & Website Proposal modifying. We offer such security options to keep your sensitive information safe and secure as folder encryption, dual-factor authentication, and Audit Trail, the latter of which tracks all your actions in your document.
all right were going to dive into canvas here a little bit and convert um a image on the canvas into a black and white image uh now the way we basically do this is we load an image into the canvas okay and then we grab all the pixel data grab the sub pixel data using a formula convert those sub pixels to gray scale and and then reset each of those sub pixels to the Grays scale via the formula and then put all that back in the canvas uh so before we start I Googled for convert RGB to grayscale and I found a link here the first one and theres this Nifty link here that says you take the red pixel the red sub pixel and you multiply by .3 add that to the green pixel times 59 and add that to the blue pixel times1 dont get too worried about this stuff I know it seems like a lot but its just the formula and were just going to use it verbatim its going to be pretty simple okay um so were going to start off with this which is just a straight image on the page I I have my file over here an