Skip to content

Conversation

@chenlj1
Copy link

@chenlj1 chenlj1 commented Jan 9, 2026

SG-34355: RV is not returning proper compression information of TIFF files anymore

Summarize your change.

Made sure the compression variable is the same type as the one used to store the compression type (changed to unsigned short from unsigned int) so it is consistent with the function it is used with. Added TIFFTAG_COMPRESSION to the list of tags that we handle manually.

Describe the reason for the change.

Previously, the TIFFTAG_COMPRESSION was being overwritten every time we call readAllTags() causing the compression type to be a numerical value instead of the actual compression name.

Describe what you have tested and on which operating system.

This fix was tested on macOS with Tiff sequences compressed using LZW and RLE.

If possible, provide screenshots.

Under TIFF/Compression, the correct compression type is displayed instead of a number.

Screenshot 2026-01-09 at 12 02 45 PM

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jan 9, 2026

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: chenlj1 / name: chenl1 (6e19cd5)

@chenlj1 chenlj1 changed the title Fix wrong TIFF compression being displayed SG-34355 - Fix wrong TIFF compression being displayed Jan 9, 2026
Copy link
Contributor

@bernie-laberge bernie-laberge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done !
Thank you @chenlj1 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants