VisionSystemsInc / VisionSystemsInc/vsi_common

no attribute TIFF_DECOMPESSORS

Open
#370 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
8
Forks
9
Avg merge
36m
Merged PRs (30d)
1

Description

If tifffile is installed, python/vsi/io/image/init.py gives an error when imported

AttributeError: module 'tifffile' has no attribute 'TIFF_DECOMPESSORS'

The attribute is accessed on this line

The problem is, I believe, this file must have been based on skimage.external.tifffile, which was deprecated and removed, and which is not equiv. to tifffile

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in python/vsi/io/image/init.py at line 85 and reproduce the import with tifffile installed. Compare the referenced TIFF_DECOMPESSORS access with the installed tifffile API and the issue's note about skimage.external.tifffile. Done means importing the module no longer raises this AttributeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.