tlnagy / OMETIFF.jl

I/O operations for OME-TIFF files in Julia
Other
24 stars 7 forks source link

Support for Big-TIFF #71

Closed JiangXL closed 2 years ago

JiangXL commented 4 years ago

I find that FileIO can load Big-TIFF directly without OME-TIFF. But OMETIFF.jl throw error ERROR: Big-TIFF files aren't supported yet. Could you add the support for Big-TIFF? Thanks! (Now, I just change .ome.tif to .btf.tiff or others, which avoid load OMETIFF.jl)

tlnagy commented 4 years ago

The original design of the loading code in OMETIFF is not flexible enough to handle BigTIFF. You've might've found https://github.com/tlnagy/TIFF.jl, which is my redesign that should be able to handle your file. I'm planning to refactor OMETIFF.jl to work on top of TIFF.jl (progress is being tracked in #12).

If you have time, could you try out TIFF.jl and report back if it works for you? You'll need Julia 1.4 and can install it by running the following command:

using Pkg; Pkg.develop(PackageSpec(url="https://github.com/tlnagy/TIFF.jl"))

and use it

using TIFF
TIFF.load("path/to/file")
JiangXL commented 4 years ago

Thanks! I have already switched to Julia 1.4. So it doesn’t require much change to try TIFF.jl

在 2020年4月7日,01:21,Tamas Nagy notifications@github.com<mailto:notifications@github.com> 写道:

The original design of the loading code in OMETIFF is not flexible enough to handle BigTIFF. You've might've found https://github.com/tlnagy/TIFF.jl, which is my redesign that should be able to handle your file. I'm planning to refactor OMETIFF.jl to work on top of TIFF.jl (progress is being tracked in #12https://github.com/tlnagy/OMETIFF.jl/issues/12).

If you have time, could you try out TIFF.jl and report back if it works for you? You'll need Julia 1.4 and can install it by running the following command:

using Pkg; Pkg.develop(PackageSpec(url="https://github.com/tlnagy/TIFF.jl"))

and use it

using TIFF TIFF.load("path/to/file")

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/tlnagy/OMETIFF.jl/issues/71#issuecomment-609927151, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABLIOLG5KOCTGU6UUDPTHXTRLIFRNANCNFSM4MCKV5FQ.

tlnagy commented 2 years ago

OMETIFF.jl v0.4+ now uses TiffImages.jl as its TIFF engine so BigTIFFs should work (plus a lot more!)