Questions tagged [android-gpuimageview]

39 questions
1
vote
0 answers

How to give multiple bitmaps as inputs in gpuimage?

I am pretty beginner in OpenGL in android. I am using GPUImage Android for applying filters on images. But, my fragment shader requires three input bitmaps to produce the output. uniform sampler2D inputImageTexture; uniform sampler2D…
1
vote
1 answer

How to read Hald Clut image?

I want to read Hald clut image for colour correction in GLSL. I found this article http://www.quelsolaar.com/technology/clut.html but it is using 3D texture to read data from clut image but i want to read it using 2D texture. I know how to read 8*8…
Manish Kumar
  • 1,095
  • 9
  • 19
1
vote
2 answers

Glide and GPUImageView issue

I am trying to implement an Android image filter library called GPUImage Located here. I have tried to use it like below public static GPUImageView img_bg; img_bg = (GPUImageView) findViewById(R.id.img_bg); …
Priya
  • 1,602
  • 4
  • 22
  • 37
1
vote
1 answer

java.lang.UnsatisfiedLinkError: org.bytedeco.javacpp.avutil while using "gpuImage" with "javacv" in android

I want to use both javacv and gpuimagein my android application. Everything works fine if i only include javacv in my app. When i include gpuimage in my app, it crashes and shows this message. java.lang.UnsatisfiedLinkError:…
Zankhna
  • 4,570
  • 9
  • 62
  • 103
1
vote
0 answers

How to add filter effects to camera preview for choosing a filter before taking picture?

I am developing a camera application using camera api for below lollipop version and camera 2 for lolipop and above versions ,My problem is, I don't know how to add filter effects to the camera preview (like, candycam and retrica camera apps) to add…
Tom
  • 296
  • 6
  • 22
1
vote
0 answers

How to maintain the aspect ratio when using GPUImage cropFilter?

Now I am making a application to take square movies like Instagram. I'm trying to use cropFilter in GPUImage to crop the video. The video is really square but looks stretch and broken ratio. I wrote like this. videoView.frame = CGRect(x: 0, y: 0,…
1
vote
1 answer

Rotation of view in android-gpuimage

I am trying to rotate the image in from android-gpuImage but the rotation is not working. Here is the code protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); …
Robz
  • 1,140
  • 3
  • 14
  • 35
1
vote
1 answer

How to apply one effect over another in GPUImageView?

I am using GPUImageView to apply effects on images displayed on GPUImageView, I want to apply one effect over another, say I applied sepia effect first, then on top of that, I want to apply Contrast. How can I achieve this?
Deepak
  • 121
  • 12
1
vote
1 answer

How to use GPUImage for Android to get bitmap thumbnails for multiple filters

I am new to Android development and I could use some help! I am trying to create a GridView to display 1 image loaded 9 times with different filters. I am using the GPUImage framework for Android and the Universal Image Loader. Here is what I have…
Kaitis
  • 628
  • 9
  • 21
1
vote
1 answer

GPUImageToneCurveFilter returns black image after several camera capture

While the camera is live, I let the user choose any filter through a horizontal list just within the screen. private void initializeVariables() { mGPUImage = new GPUImage(this); mGPUImage.setGLSurfaceView(glSurfaceView); mCameraLoader…
1
vote
1 answer

Android. Couldn't load gpuimage-library

I just downloaded GPUImageLibrary 1.2.3 snapshot and import the library and the sample project. In the sample app, when i pick image from gallery, everything works fine. But everytime i try to pick image from camera, the app crashes. package…
1
vote
2 answers

GPUImageView rendering Blank after Scroll in ListView Android

I am using GPUImageView component from android-gpuimage Library for displaying Images (with filtered applied on them) in my ListView. The Images are being loaded perfectly with filters for the First time in my ListView but when i scroll down the…
Salman Khakwani
  • 6,684
  • 7
  • 33
  • 58
0
votes
1 answer

Android studio Why GPUImageView is not fitting a bitmap inside it , rather it zoom the bitmap and some area get cropped as it does not fit in screen

I am giving the same bitmap to image view and it fits well inside it , but when I set that same bitmap to GPU image view the image gets zoomed, here is how I am doing it generally activity file val imageFilePath = …
0
votes
1 answer

How to put an image view over gpu image view while setZOrderOnTop is on?

I'm using gpu image view. I want to set an image with transparency something like mask in the gpu image view and then I want to draw an image view over the gpu image view. My xml looks…
0
votes
1 answer

Image distortion on touch

There is an app named Funny Face Effects on the play store. I am trying to achieve the effect in which when a user moves the finger on image, pixels under the finger in certain radius shifts in that direction. It feels like moving a cloth with a…