almost 5 years ago
if you want add the custom frame on image like a border then
1- Add the GPU image Third party library to your project .
2- Use the image with imagename that you want to use as border image of originanl Image.
3- Framed image will the output image for this.
GPUImageNormalBlendFilter *blendFilter = [[GPUImageNormalBlendFilter alloc] init]; GPUImagePicture *imageToProcess = [[GPUImagePicture alloc] initWithImage:originalImage]; GPUImagePicture *border = [[GPUImagePicture alloc] initWithImage:[UIImage imageNamed:imageName]]; [imageToProcess addTarget:blendFilter]; [border addTarget:blendFilter]; [blendFilter useNextFrameForImageCapture]; [imageToProcess processImage]; [border processImage]; UIImage *framedImage= [blendFilter imageFromCurrentFramebuffer];
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Sign up using
0 Comment(s)