JSPM

expo-image-theme-colors

0.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q27808F
  • License MIT

A module to extract theme colors using expo ImageRef

Package Exports

  • expo-image-theme-colors
  • expo-image-theme-colors/build/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (expo-image-theme-colors) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

expo-image-theme-colors

BBPlayer 项目内使用。

基于 Android Palette 实现的图片主题色提取,只支持传入 Expo 的 ImageRef 对象,实现零拷贝提取。(可通过 expo-image 库获取该对象)