-
Notifications
You must be signed in to change notification settings - Fork 37
How can I use this to manipulate Image? #7
Comments
oops, i haven't notice it. ;p |
Now I'm handle this problem. |
done, now u can use this like: @Override
public void onCreate(final Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity);
// prepare surface.
mRecorderViews = (FilterRecoderView) findViewById(R.id.vp_video_recorder_gl);
// prepare the filter you want to use
final GPUImageContrastFilter contrastFilter = new GPUImageContrastFilter(1.0f);
contrastFilter.setContrast(contrastValue);
// bind to PureImageManager and render
PureImageManager.init(context)
.setGLSurfaceView(mRecorderViews)
.setScaleType(GPUImage.ScaleType.CENTER_INSIDE)
.setImage(mUri)
.setFilter(contrastFilter)
.requestRender();
} |
Hi @Windsander appreciate your above code help |
Ohly, this is a problem. |
Hi,
I would like to ask how can I use this lib to manipulate image (brightness, contrast, etc..) as in the original
android-gpuimage
project. For example, I used to do this:However, after digging around the lib, I can't find
GPUImage
anywhere.Another question, I'm looking for another lib mostly because of this unresolved bug. I would like to ask is this fixed with this current release?
Thank you so much for your time.
The text was updated successfully, but these errors were encountered: