How can I manipulate the camera preview?
问题 There are several tutorials out there which explain how to get a simple camera preview up and running on an android device. But i couldn't find any example which explains how to manipulate the image before it's being rendered. What I want to do is implementing custom color filters to simulate e.g. red and/or green deficiency. 回答1: I did some research on this and put together a working(ish) example. Here's what I found. It's pretty easy to get the raw data coming off of the camera. It's