Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support browser-agnostic file format #16

Open
cblgh opened this issue Oct 14, 2020 · 3 comments
Open

Support browser-agnostic file format #16

cblgh opened this issue Oct 14, 2020 · 3 comments
Labels

Comments

@cblgh
Copy link

cblgh commented Oct 14, 2020

Hi hi! @cryptix and i are hammering away at an oasis upgrade (%izbqRVJQ1brHjQp3wcL/D6b/nTYPQ2kndzesT/tIdNM=.sha256)

We realized we wanted to remove exif data from uploaded jpegs, and cryptix came across this repo. Which is great! But it looks like it solely relies on file input events. As it is, I borrowed the exif dep and the orientation-preserving implementation.

But it would be nice if we didn't have to copy pasta 🍝, and it would be a big benefit to make use of the encrypted blobs functionality.

Proposal: To tweak ssb-blob-files to instead lean on the other format that piexif consumes, namely binary text strings buffer.toString('binary').

@arj03
Copy link
Member

arj03 commented Oct 14, 2020

Bep bep afk but wanted to add that I have two patches for this repo here https://github.com/arj03/ssb-browser-core/tree/master/patches that allows it to run in the browser.

@arj03
Copy link
Member

arj03 commented Oct 14, 2020

Had a look at the diff for oasis and seems like my comment from above does not really help you, so please ignore ;) but yeah might be great to split this into two modules.

@stale
Copy link

stale bot commented Jan 24, 2021

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

@stale stale bot added the stale label Jan 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants