Skip to content

Commit

Permalink
add ImageIO for normal TIFF files
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Feb 21, 2021
1 parent 1df5033 commit e55aafd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/registry.jl
Expand Up @@ -257,7 +257,7 @@ function detecttiff(io)
end
# normal TIFF
detect_noometiff(io) = detecttiff(io) && !(endswith(io.name, ".ome.tif>") || endswith(io.name, ".ome.tiff>"))
add_format(format"TIFF", detect_noometiff, [".tiff", ".tif"], [:QuartzImageIO, OSX], [:ImageMagick])
add_format(format"TIFF", detect_noometiff, [".tiff", ".tif"], [:ImageIO], [:QuartzImageIO, OSX], [:ImageMagick])
# OME-TIFF
detect_ometiff(io) = detecttiff(io) && (endswith(io.name, ".ome.tif>") || endswith(io.name, ".ome.tiff>"))
add_format(format"OMETIFF", detect_ometiff, [".tif", ".tiff"], [:OMETIFF])
Expand Down

0 comments on commit e55aafd

Please sign in to comment.