HomePhabricator
Diffusion Comm 991a876865aa

[native] Implement thumbhash generation on iOS

Description

[native] Implement thumbhash generation on iOS

Summary:
Implemented the generateThumbHash() function on iOS.
Used code from the thumbhash repository: https://github.com/evanw/thumbhash

Depends on D7778

Test Plan: One easy way is to hook this to expo-image-picker result (e.g. avatar picker) and provide picked uri to the function. It should usually return a 43 char long string (sometimes longer if there is alpha channel).

Reviewers: atul, marcin, ashoat

Reviewed By: atul, ashoat

Subscribers: ashoat, tomek

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

Details

Provenance
bartekAuthored on May 10 2023, 5:31 AM
Reviewer
atul
Differential Revision
D7779: [native] Implement thumbhash generation on iOS
Parents
rCOMM23665e51b022: [native] Create expo-module for Thumbhash generation
Branches
Unknown
Tags
Unknown