-
Notifications
You must be signed in to change notification settings - Fork 617
Open
Description
I get this warning Tried to overrelease a framebuffer and a black/blank image when trying to apply a filter to an image, this issue only appears on a real device (iPhone 6s) but not a the simulator (The average image size is approx 2-3MB). Is there something I'm doing wrong below.
func applyFilterOnMainImage(){
let toonFilter = SmoothToonFilter()
let pictureInput = PictureInput(image: defaultImg)
let pictureOutput = PictureOutput()
pictureOutput.imageAvailableCallback = {image in
print("Process completed")
self.mainImage.image = image
}
pictureInput --> toonFilter --> pictureOutput
pictureInput.processImage(synchronously:false)
collectionView.reloadData()
}This warning is not present when I using a RenderView but I was wondering if there was a way to remove the black background which is present after the image is applied to the RenderView
markhennings, EriFisher and andydrizen
Metadata
Metadata
Assignees
Labels
No labels