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

Add support for WebP decompression via the browser #194

Merged
merged 4 commits into from
Jan 20, 2022
Merged

Conversation

constantinius
Copy link
Member

No description provided.

@digoburigo
Copy link

This is going to be merged?

@constantinius
Copy link
Member Author

@digoburigo Yes, this is the intention. Would you be willing to test?

@digoburigo
Copy link

Yeah, I install in the package.json using the github link?

@constantinius
Copy link
Member Author

@digoburigo with npm you can directly install from git (even specifying the branch). I think like that:

npm install "geotiffjs/geotiff.js#web-images"

@digoburigo
Copy link

I'm using with Angular, and when trying to serve the application, this error occurs
./node_modules/geotiff/src/pool.js:2:0-65 - Error: Module not found: Error: Can't resolve 'threads' in '/home/digob/Desktop/VM2/vm2-coleta-ui/node_modules/geotiff/src'

@constantinius
Copy link
Member Author

@digoburigo I'm merging this now, we can adjust/fix afterwards

@constantinius constantinius merged commit 82ea590 into master Jan 20, 2022
@constantinius constantinius deleted the web-images branch January 20, 2022 09:17
@ahocevar
Copy link
Contributor

@digoburigo The github link as dependency in package.json won't work. Instead, clone this repository locally, run npm install and npm link. Then go into the project where you want to test, and run npm link geotiff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants