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

Change Deps #35

Closed
wants to merge 2 commits into from
Closed

Change Deps #35

wants to merge 2 commits into from

Conversation

hipstersmoothie
Copy link
Contributor

@hipstersmoothie hipstersmoothie commented Jul 30, 2018

  • switch to node module 'zlib'. Same api as pako. when using a bundler like browserify or webpack zlib will get transformed into pako for the frontend.
  • switch to jpeg-js
    • is an actual NPM package
    • is a good deal smaller ~50kB vs 200kB
    • should have same API

I cannot find a tiff compressed with JPEG at the moment but I would be happy to test it out.

UPDATE: tested it out and I might have to modify jpeg-js to read the buffer correctly

jpeg-js/jpeg-js#43

@hipstersmoothie
Copy link
Contributor Author

I actually can't get this same image in the issue above working with UTIF.js. Instead of a broken image I get nothing. So this maybe an improvement!

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.

1 participant