automeris-io / WebPlotDigitizer

Computer vision assisted tool to extract numerical data from plot images.
https://automeris.io
GNU Affero General Public License v3.0
2.61k stars 359 forks source link

TIFF image format support #174

Open mvernacc opened 5 years ago

mvernacc commented 5 years ago

I would like to be able to open TIFF images with WebPlotDigitizer.

I am using the desktop version. When I try to open a TIFF, it hangs with a "Processing..." message at the top of the screen.

As a workaround, I can convert the TIFFs from our microscope to PNG, but this is an extra step.

mvernacc commented 5 years ago

Turns out I can open TIFF images if I use WebPlotDigitizer in Microsoft Edge.

I discovered this by reading a wikipedia article referenced in section 2.1 of the manual.

Having TIFF support in the desktop version would still be nice though :)

ankitrohatgi commented 5 years ago

Interesting, I didn't know MS Edge supported TIFF :)

Right now I rely on whatever browser support is available. The desktop version is based on the Electron project which is just a wrapper around browser technologies. I can look into adding a TIFF decoder at some point.

billdenney commented 5 years ago

If tiff is implemented, it would also benefit from multipage selection (like #168) since the TIFF container format supports many images within a single file.

billdenney commented 1 year ago

I was just looking around, and I found this library that supports TIFFs using only javascript: https://geotiffjs.github.io/