-
Notifications
You must be signed in to change notification settings - Fork 14
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
TiffImages fails to open a bfconvert
converted OME-TIFF
#151
Labels
Comments
tlnagy
changed the title
Trouble converting a
TiffImages fails to open a Mar 5, 2024
bfconvert
converted OME-TIFFbfconvert
converted OME-TIFF
I get a slightly different error on TiffImages master: julia> TiffImages.load("output1.ome.tiff")
Loading: 25%|██████████████████████████████▌ | ETA: 0:00:05ERROR: EOFError: read end of file
Stacktrace:
[1] unsafe_read(s::IOStream, p::Ptr{UInt8}, nb::UInt64)
@ Base ./iostream.jl:428
[2] unsafe_read
@ ./io.jl:761 [inlined]
[3] read!
@ ./io.jl:779 [inlined]
[4] read!
@ ~/.julia/dev/TiffImages/src/files.jl:94 [inlined]
[5] read!(target::Matrix{TiffImages.Palette{FixedPointNumbers.N0f16}}, tf::TiffFile{UInt32, FileIO.Stream{FileIO.DataFormat{:TIFF}, IOStream, String}}, ifd::TiffImages.IFD{UInt32})
@ TiffImages ~/.julia/dev/TiffImages/src/ifds.jl:325
[6] macro expansion
@ ~/.julia/dev/TiffImages/src/load.jl:92 [inlined]
[7] macro expansion
@ ~/.julia/packages/ProgressMeter/dMfiC/src/ProgressMeter.jl:1010 [inlined]
[8] load(tf::TiffFile{UInt32, FileIO.Stream{FileIO.DataFormat{:TIFF}, IOStream, String}}, ifds::Vector{TiffImages.IFD{UInt32}}, N::Int64; verbose::Bool)
@ TiffImages ~/.julia/dev/TiffImages/src/load.jl:91
[9] load
@ ~/.julia/dev/TiffImages/src/load.jl:84 [inlined]
[10] load(tf::TiffFile{UInt32, FileIO.Stream{FileIO.DataFormat{:TIFF}, IOStream, String}}; verbose::Bool, mmap::Bool, lazyio::Bool)
@ TiffImages ~/.julia/dev/TiffImages/src/load.jl:43
[11] load(tf::TiffFile{UInt32, FileIO.Stream{FileIO.DataFormat{:TIFF}, IOStream, String}})
@ TiffImages ~/.julia/dev/TiffImages/src/load.jl:23
[12] load(io::IOStream; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ TiffImages ~/.julia/dev/TiffImages/src/load.jl:22
[13] load
@ ~/.julia/dev/TiffImages/src/load.jl:22 [inlined]
[14] #49
@ ~/.julia/dev/TiffImages/src/load.jl:18 [inlined]
[15] open(::TiffImages.var"#49#50"{Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}}, ::String, ::Vararg{String}; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Base ./io.jl:395
[16] open
@ ./io.jl:392 [inlined]
[17] #load#48
@ ~/.julia/dev/TiffImages/src/load.jl:17 [inlined]
[18] load(filepath::String)
@ TiffImages ~/.julia/dev/TiffImages/src/load.jl:16
[19] top-level scope
@ REPL[9]:1 So I tried to open the file using Fiji/ImageJ and it similarly fails to open so this might not be a
Perhaps this is an issue with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I used the
bftools
command-line toolbfconvert
to convert a Zeiss CZI mosaic into an OME-TIFF. I'm having trouble reading into Julia using eitherOMETIFF.jl
orTiffImages.jl
. The error message is attached below (same error forOMETIFF
andTiffImages.jl
). I am using Julia 1.10.1 on MacOS. The image I used is available here: https://drive.google.com/file/d/1PD7BthTuj-UgJhltqyp64oqmv2MwF1Es/view?usp=sharing.pyometiff
seems to be able to read the image.Thanks for all your work on these packages!
The text was updated successfully, but these errors were encountered: