Skip to content

Handle empty directories when loading the file#60

Open
rasilon wants to merge 1 commit intongageoint:developfrom
rasilon:pentax_dng_tiff
Open

Handle empty directories when loading the file#60
rasilon wants to merge 1 commit intongageoint:developfrom
rasilon:pentax_dng_tiff

Conversation

@rasilon
Copy link

@rasilon rasilon commented Jun 16, 2025

For reasons out of my control, Pentax DNG files have directory entries that are (or appear to be) empty. The most common cause appears to be that the value is an empty, zero length, string. This PR handles that case by not assuming there will always be a first value in a given directory entry.

@rasilon rasilon changed the base branch from master to develop June 16, 2025 12:01
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.

1 participant