TiffImages.jl icon indicating copy to clipboard operation
TiffImages.jl copied to clipboard

💎 Pure-Julia TIFF I/O with a focus on correctness 🧐

Results 25 TiffImages.jl issues
Sort by recently updated
recently updated
newest added

xref: https://discourse.julialang.org/t/problem-in-reading-tiff-floats-file/106610/4 The primary problem is that `interpretation(::Val{TiffImages.PHOTOMETRIC_MINISWHITE})` is not implemented. ``` ERROR: MethodError: no method matching interpretation(::Val{TiffImages.PHOTOMETRIC_MINISWHITE}) Closest candidates are: interpretation(::TiffImages.PhotometricInterpretations, ::Val{TiffImages.EXTRASAMPLE_UNSPECIFIED}, ::Val{4}) @ TiffImages ~/.julia/packages/TiffImages/yETMK/src/layout.jl:63 interpretation(::TiffImages.PhotometricInterpretations, ::TiffImages.ExtraSamples, ::Int64)...

`lazyio` does not appear to load tiled TIFFs properly.

enhancement
help wanted

Fixes #100 Exports three new functions - `color` -- extract the color component of an image, eg ```julia julia> imshow(color(im)); ``` - `nchannels` -- get the total number of channels...

Perhaps some of the following are known problems, but are not shown in the documentation or (broken) tests. ```julia using ColorTypes using ColorTypes.FixedPointNumbers using TiffImages TiffImages.save("rgb_n0f8.tif", fill(RGB{N0f8}(1, 0.4, 0.0), 10,...

bug
help wanted

When I try to open a tiff file I get this error: ``` BoundsError: attempt to access 726×246 Array{Gray{N0f16},2} with eltype ColorTypes.Gray{FixedPointNumbers.N0f16} at index [174241:182952] ``` Here is my code:...

waiting on author

Currently, IFDs are altered when an image is read, but this is surprising and not ideal

>Does this mean you get an all-zero channel after loading it even before visualization? Exactly. Apart from that it seems to be taking the pixel values in each slice (z)...

bug

Currently, my estimation for whether I need a BigTIFF container for a dense image or not is extremely naive: https://github.com/tlnagy/TiffImages.jl/blob/0bb669af8c53e12fe6da92a4144b8bc955221b2c/src/types/dense.jl#L52-L58 In https://github.com/tlnagy/TiffImages.jl/commit/f2340358071a3996826a0b2983f15cc76c31de38, I implemented a concrete determination of the size...

enhancement
good first issue

is there a way to do this with TiffImages.jl? ``` using ImageMagick wand = MagickWand() readimage(wand, "filename.tif") my_custom_metadata_value = ImageMagick.getimageproperty(wand, "my_custom_metadata_key") ```

enhancement
help wanted
good first issue

I found this "quad-jpeg.tif" from the libtiff test images https://libtiff.gitlab.io/libtiff/images.html I just put up a draft JpegTurbo version to support abbreviated data stream https://github.com/JuliaIO/JpegTurbo.jl/pull/25, I believe `jpeg_decode(table_bytes, data_bytes)` should make...

enhancement
help wanted