sdwebimage / libwebp-xcode Goto Github PK
View Code? Open in Web Editor NEWA wrapper for libwebp + Xcode project. Support Carthage && CocoaPods && SwiftPM.
A wrapper for libwebp + Xcode project. Support Carthage && CocoaPods && SwiftPM.
If someone gets a building error about 'inttypes.h', replace 'inttypes.h' with 'xlocale/_inttypes.h' maybe make it works.
Error Messages:
...../Carthage/Build/iOS/libwebp.framework/Headers/types.h:20:10: Include of non-modular header inside framework module 'libwebp.types': '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/clang/include/inttypes.h'
新版 Carthage 支持编译 xcframework,用以下命令可以成功编译出 libwebp.xcframework:
carthage --use-xcframeworks --no-use-binaries --platform iOS
示例项目在此:
https://github.com/lexrus/LibWebpXCDemo
麻烦大佬帮忙看看有什么办法解决。
I was able to add the package and call WebPGetDecoderVersion()
I would like to call the function to convert a GIF data to webp Data that is see in gif2webp.c
Would this be possible?
The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99.
Do you have plan to change IPHONEOS_DEPLOYMENT_TARGET version to iOS 9.0 ?
Thanks
The Swift Package Manager is used to pull libwebp
into an Objective-C project. When attempting to use import the headers, the search path doesn't appear to be used.
#import <webp/decode.h>
Build Settings
to update either the Header Search Path or User Header Search Paths?include/web/*.h
are symbolic links back to libwebp/src/webp/*.h
(which we also tried), is there an issue with Swift PM following those links?The error is
util/webp_reader.cpp:7:9: fatal error: 'webp/decode.h' file not found
#import <webp/decode.h>
The project cannot use the preferred @import libwebp
. Thank you for supporting Swift PM in this project, as it is very useful.
Apple is enforcing privacy manifests by Spring 2024, is this something on your radar? 🙏
https://developer.apple.com/news/?id=r1henawx
It's also listed in the required SDK to have privacy manifests: https://developer.apple.com/support/third-party-SDK-requirements/
According to libwep.podspec, src directory is not located at the current directory, when I use this pod library as a local pod. It will occur errors. when I move the src directory from libwebp directory to the current directory, it's ok.
Hey all!
We bumped our project to iOS 15 / Xcode 13, but we got the following on Jenkins:
../SourcePackages/checkouts/libwebp-Xcode/Package.swift: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.0.99. (in target 'libwebp' from project 'libwebp')
Can I open a PR with a min version bump?
Thanks!
Can you fix this warning?
First is in backward_references_enc
Variable 'best_offset' may be uninitialized when used here
Rest are in dec_neon
Variable 'sum_left' may be uninitialized when used here Variable 'sum_top' may be uninitialized when used here
See all the third party C/C++ image decoding library we used for custom decoder:
They are contains the both Xcode project (using for Carthage or user who need the framework), and the podspec for CocoaPods.
Making the podspec public can make it easier for future maintain. Especially when you don't want to maintain the repo and need another people to take the relay.
I current could not find the original podspec files for https://cocoapods.org/pods/libwebp. Could you please upload it here ? @bpoplauschi
There is a new version, 1.3.1 of libwebp
From the release note:
- 6/23/2023: version 1.3.1
This is a binary compatible release.
- security fixes for lossless encoder (#603, chromium: #1420107, #1455619,
CVE-2023-1999)
It resolves a security issue CVE-2023-1999
.
Can libwebp-Xcode support libwebp 1.3.1 ?
Thanks for your support.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.