HomePhabricator
Diffusion Comm 23665e51b022

[native] Create expo-module for Thumbhash generation

Description

[native] Create expo-module for Thumbhash generation

Summary:
Thumbhash generation requires raw pixel RGB data, which is not easily available from JS, but we can easily get it in native code. Created an expo module for that purpose.
Basically copy-pasted the aes-crypto module.

Test Plan: generateThumbHash("foo").then(console.log) prints "unimplemented" on iOS and Android

Reviewers: ashoat, atul, marcin

Reviewed By: ashoat

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D7778

Details

Provenance
bartekAuthored on May 10 2023, 3:58 AM
Reviewer
ashoat
Differential Revision
D7778: [native] Create expo-module for Thumbhash generation
Parents
rCOMMc768750741aa: [native] Add thumbHash prop to image components
Branches
Unknown
Tags
Unknown