Open GustasBr opened 6 years ago
So the problem is that sometimes UIImage becomes plain red or appears duplicates. How I could solve this problem? I'm using lookup filters.
P.S I'm compressing only the small images where user can pick the filters. I need the best quality UIImage for my main ImageView.
`let lookupFilter11 = LookupFilter()
lookupFilter11.intensity = 1 let pictureInput11 = PictureInput(image: original!) lookupFilter11.lookupImage = PictureInput(imageName: "lookup_amatorka.png") let pictureOutput11 = PictureOutput() pictureOutput11.imageAvailableCallback = {image in self.image2 = image thumbnail = self.image2!.af_imageAspectScaled(toFill: size) self.imageView2.image = thumbnail } pictureInput11 --> lookupFilter11 --> pictureOutput11 pictureInput11.processImage(synchronously:true)`
i too
+1
So the problem is that sometimes UIImage becomes plain red or appears duplicates. How I could solve this problem? I'm using lookup filters.
P.S I'm compressing only the small images where user can pick the filters. I need the best quality UIImage for my main ImageView.
`let lookupFilter11 = LookupFilter()