GPHemsley / tiff-js

A JavaScript-based parser for the TIFF image format.
Mozilla Public License 2.0
71 stars 30 forks source link

[obvious feature request] Need chrome and firefox plugins #9

Open yurivict opened 11 years ago

yurivict commented 11 years ago

tiff images should be displayed in browsers in-place just like other image types.

GPHemsley commented 11 years ago

Indeed. I created issue #6 for the Firefox side of things.

yurivict commented 11 years ago

It should be easier then pdf.js extensions, because they also have to display whole separate page and tiff is just one image.

GPHemsley commented 11 years ago

Well, TIFF files can contain multiple images, so it's debatable whether that is entirely true. The spec allows us to just display the first image, but I imagine the bigger hurdle is to just get all the different features implemented.

If anyone wants to contribute code to implement the extensions, it'd be greatly appreciated. But until all the important features are implemented, I'm gonna focus primarily on the standalone JS library. (See also #7 about places where pdf.js and tiff.js may overlap.)

d-Pixie commented 7 years ago

I have https://github.com/my-codeworks/chrome-tiff-viewer on the chrome side. Right now it uses a LLVM/Emscripten port of the C TIFF library and not @GPHemsley's javascript one though ... I would like to use a real JS implementation instead but this was not complete enough to handle the images I had to deal with at the time.

I would be willing to put some time into this library though, if someone else was also working on it :) It is the collaboration that makes it worth it ...