StickerView icon indicating copy to clipboard operation
StickerView copied to clipboard

Can I use this view with GPU Image library?

Open supriya456 opened this issue 7 years ago • 7 comments

If yes then how can used it with GPU Image libray i.e. https://github.com/CyberAgent/android-gpuimage

because I can't able to store images with stickers using this library. please share if you have any possible solution.

supriya456 avatar Jan 03 '17 11:01 supriya456

The StickerView is a FrameLayout.You can use save() method to save an image, but the size of image is only the view's size.

2017年1月3日 下午7:23,"supriya456" [email protected]写道:

If yes then how can used it with GPU Image libray i.e. https://github.com/CyberAgent/android-gpuimage

because I can't able to store images with stickers using this library. please share if you have any possible solution.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wuapnjie/StickerView/issues/12, or mute the thread https://github.com/notifications/unsubscribe-auth/AKY_wniqzFSyt44vZH2zH6MaS-e9b1O9ks5rOi-egaJpZM4LZiIL .

wuapnjie avatar Jan 03 '17 12:01 wuapnjie

Yes, I can able to store image but it shows blank image.

Please refer :- https://d.pr/zbke I have used this layout after that output is this one https://d.pr/12Qxt

It always showing me blank so can you please help me out from here!

supriya456 avatar Jan 03 '17 12:01 supriya456

Ok.I will check it and fix it if I can.

2017年1月3日 下午8:32,"supriya456" [email protected]写道:

Yes, I can able to store image but it shows blank image.

Please refer :- https://d.pr/zbke I have used this layout after that output is this one https://d.pr/12Qxt

It always showing me blank so can you please help me out from here!

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/wuapnjie/StickerView/issues/12#issuecomment-270104777, or mute the thread https://github.com/notifications/unsubscribe-auth/AKY_wsKhuM8vOR69BGF3K487KAFCigswks5rOj_ZgaJpZM4LZiIL .

wuapnjie avatar Jan 03 '17 13:01 wuapnjie

Same issue here. Would be wonderful if Stickers could be applied over SurfaceView and be used with camera.

SimpleSmiki avatar Jan 29 '17 13:01 SimpleSmiki

@supriya456 Any luck with combining these two libraries?

@wuapnjie maybe some advice how to achieve this?

SimpleSmiki avatar Feb 06 '17 10:02 SimpleSmiki

Sorry. Maybe you can switch two steps to edit image. Currently i am not familiar with GPUImage and SurfaceView.

wuapnjie avatar Feb 06 '17 10:02 wuapnjie

@supriya456 you can try like it: GPUImage gpuImage = new GPUImage(context); gpuImage.setFilter(filter); Bitmap pvBitmap = gpuImage.getBitmapWithFilterApplied(currentBitmap); mGPUImageView.setImageBitmap(pvBitmap);

mGPUImageView is an Imageview type.

NicodeLee avatar Apr 25 '17 03:04 NicodeLee