Drashti
Drashti

Reputation: 111

image Effect android using GPUImage

I am not even aware of Image Effects, I am trying to use Image filter to one image on which i have done with Drawing. For Drawing i have used DrawingView but now for effect i googled it and i have came to know that it can b apply using GLSurfaceView, ImageView, etc but i dont know

[FIRST QUESTION]

it can be apply to DrawingView?

Now i have tried GPUImage i found some code from github but not worked for me because i dont even know how i works

[SECOND QUESTION]

Steps to use GPUImage for image effects?

i have reffered this examples:

https://xjaphx.wordpress.com/learning/tutorials/ (this is not using GPUImage but somehow main goal is image effect)

http://www.java2s.com/Code/Jar/g/Downloadgpuimagelibrary110sourcesjar.htm (Download Library from Here - ver- 1.1.1)

http://grishma102.blogspot.in/2013/10/apply-effects-on-image-using-effects.html (Nothing happning to image when clicking menu)

https://github.com/CyberAgent/android-gpuimage (What is that i did not understand: code? then why Library folder is there?)

already asked questions but not worked

How to apply effects to camera images? (Complex for me)

https://developer.android.com/reference/android/graphics/package-summary.html (Theory)

https://stackoverflow.com/questions/29592646/display-grayscale-to-color-image-when-state-change-using-gpuimage-in-android

How to add image effects in android ?

and many more available but i dont know how to do that.. Anybody can suggest something better.. Thanks in Advance.

Upvotes: 1

Views: 6273

Answers (1)

BaDo
BaDo

Reputation: 578

  1. First question: You should try again and run GPU lib follow link https://github.com/CyberAgent/android-gpuimage. It should work if you config project properly
  2. Second question: Don't use other libraries for Image effects, because it is written by Java code, you will face with Out of memory problem, take time for each effect by Java code also, it is really annoy. GPU lib is written by C++ and it is really cool to apply for Image editor apps

Hope you run GPU sample successfully

Upvotes: 2

Related Questions