Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 3. Working with Images and Videos

Chapter 3. Working with Images and Videos

In this chapter, we will cover:

  • Drawing an image

  • Cropping an image

  • Copying and pasting sections of the canvas

  • Working with video

  • Getting image data

  • Introduction to pixel manipulation: inverting image colors

  • Inverting video colors

  • Converting image colors to grayscale

  • Converting a canvas drawing into a data URL

  • Saving a canvas drawing as an image

  • Loading the canvas with a data URL

  • Creating a pixelated image focus


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial