如何从Expo应用图像中获得主导颜色

发布于 2025-02-09 17:15:43 字数 109 浏览 0 评论 0原文

我搜索库,从与Expo应用程序一起使用的图像中获取主要颜色。我尝试了所有的 libs,但每个人都不使用 expo应用程序 ... 多谢。

I search a library to get the dominant color from an image that works with expo apps. I tried with all libs I manage to find, but each one of them were not working with expo app...
Thanks a lot.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

她说她爱他 2025-02-16 17:15:46

如果您尝试了 react-nortiative-nortive-image-colors 您必须确保您配置了expo-dev-client
让此软件包工作。

if you tried react-native-image-colors then you have to make sure you configured expo-dev-client
as in the expo docs for this package to work.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文