Giter Club home page Giter Club logo

webp.touch's Introduction

WebP.Touch

Xamarin iOS / Mac bindings for WebP decoding NuGet package can be found here: https://www.nuget.org/packages/WebP.Touch

WebP framework

Original WebP framework comes from http://downloads.webmproject.org/releases/webp/index.html Content is extracted from the framework and bindings are created for the native libraries. Currently we use libwebp-0.6.1

XCode wrapper project

This project is used to expose some simple methods to use the original WebP.framework At the moment it will only expose methods for decoding

Original project

Some inspiration came from WebP decoding project from Sean Ooi https://github.com/seanooi/iOS-WebP

webp.touch's People

Contributors

cosmin-gordea avatar daniel-luberda avatar jose7777 avatar jphenow avatar molinch avatar ranainside avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

webp.touch's Issues

Missing ArmV7s

Why is this missing?
Im not that into what is supported when i comes to iphone architectures, can a ArmV7S device run this?

License?

Hi.

Thanks for developing this awesome binding library.
But it doesn't have a license, right?
What kind of license does WebP.Touch have?
Could you show me it?

Thanks.

Native linking failed, undefined Objective-C class: WebPDecoder.

Hi,

I get the following error when trying to deploy an Xamarin.iOS app to a physical device, where I need to use FFImageLoading which uses WebP.Touch as a dependency. It doesn't give the error when deploying to the simulator.

MTOUCH: error MT5211: Native linking failed, undefined Objective-C class: WebPDecoder. The symbol '_OBJC_CLASS_$_WebPDecoder' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH: error MT5202: Native linking failed. Please review the build log.

Is this a known issue or am I doing something wrong?

Thanks in advance!

Change date of DLL in the future cause error with nuget on mono

If I try to restore package on macOS (Nuget CLI) I get the following error.

Errors in packages.config projects
    Error downloading 'WebP.Touch.1.0.2' from 'https://api.nuget.org/v3-flatcontainer/webp.touch/1.0.2/webp.touch.1.0.2.nupkg'.
    Invalid parameter

After search, I found, that a date in the future cause this error with nuget API v3. Your DLL in the package has the change date of 2089-10-7T15:04.

Add "Smart Link" flag to avoid "Error MT5213: Duplicate symbol"

Hi

My Xamarin.iOS debug and release builds are failing with MTOUCH : Error MT5213: Duplicate symbol in: …mtouch-cache/WebP.a(libwebpdecode_la-buffer_dec.o) (Location related to previous error) (MT5213)... and many more of these.

This error started happening recently as I added a native library which uses libwebp and now causes conflicts with the latest Xamarin.FFImageLoading.Svg.Forms nuget package which bases on the WebP.Touch nuget package.

I already did these steps:

  1. Adding --registrar:static
  2. Asked the maintainer of the other library to add the Smart Link flag to all of it's native references.

Now I ask you to add the Smart Link flag also to all of your native references.

Please let me know if you need more information.

Best regards,
Rafael

Image not loaded with iOS 11.2

Hi Daniel, Salut Fabien,

It seems that Apple changed something in iOS 11.2 that breaks the display of WebP images.
Please try to run the project on iOS 11.2 (simulator or real device).

Current: the screen remains black. The image is not displayed. No error is thrown.
Expected: the downloaded image should be decoded and displayed.

Thanks for your support guys :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.