Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use type switch to properly handle RGBA images from Decap
Since updating Chrome/chromedp, the images from Decap are no longer NRGBA. Apparently, the previous code for handling RGBA ended up overwriting the image content when asserting type (i.e. `im` became a nil pointer).
- Loading branch information