Texture icon indicating copy to clipboard operation
Texture copied to clipboard

Animation Webp not working

Open baveku opened this issue 5 years ago • 5 comments

I run Example Animated Webp, but it's not showing and return an error(Decode wrong):

The operation couldn’t be completed. (PINRemoteImageManagerErrorDomain error 1.)

Example: testtexture_gif_webp_animated.zip

xcode : 12.2 ios: 14.2 texture: Latest PINRemoteImage/WebP: Latest

I use PINImageAnimatedView for WebP and it's work

baveku avatar Nov 27 '20 04:11 baveku

I have same problem.

audrl1010 avatar Dec 03 '20 10:12 audrl1010

I have same problem.

I try and try but it's not working because it's a bug from ASNetworkImageNode, so I have moved to use SDWebImage + WebpCoder extension, and it's working, very smooth =))))

baveku avatar Dec 03 '20 10:12 baveku

I have same problem.

I try and try but it's not working because it's a bug from ASNetworkImageNode, so I have moved to use SDWebImage + WebpCoder extension, and it's working, very smooth =))))

Hi @baveku do you use ASImageNode with SDAnimatedImageView? Do you have and example code?

Thank you

williamsantosoRG avatar Feb 25 '22 04:02 williamsantosoRG

I have same problem.

I try and try but it's not working because it's a bug from ASNetworkImageNode, so I have moved to use SDWebImage + WebpCoder extension, and it's working, very smooth =))))

Hi @baveku do you use ASImageNode with SDAnimatedImageView? Do you have and example code?

Thank you

let imageNode: ASDisplayNode = {
        let node = ASDisplayNode { () -> UIView in
            let view = UIImageView()
            view.contentMode = .scaleAspectFill
            view.backgroundColor = .gray200
            return view
        }

        return node
    }()

@williamsantosoRG you can create a node with UIView, and setup SDWebImage + SDWebImageWebPCoder plugin to use, I create a custom node to combine SDWebImage + PINCache + SDWebImageWebPCoder, it's fast and easy to used

baveku avatar Feb 25 '22 04:02 baveku

Thanks @baveku. That's really helps

williamsantosoRG avatar Feb 25 '22 08:02 williamsantosoRG