mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 03:20:48 +00:00
[WIP] Stickers editor
This commit is contained in:
parent
ccb2415473
commit
fc7c72d196
@ -166,7 +166,7 @@ private func getPathFromMaskImage(_ image: CIImage, size: CGSize, values: MediaE
|
||||
let contourImageSize = image.extent.size.aspectFilled(CGSize(width: 256.0, height: 256.0))
|
||||
|
||||
var contour = findEdgePoints(in: pixelBuffer)
|
||||
guard !contour.isEmpty else {
|
||||
guard contour.count > 1 else {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user