Skip to content

Add large file support - #196

Closed
thbeu wants to merge 1 commit into
danoli3:masterfrom
thbeu:enable-large-file-io
Closed

thbeu wants to merge 1 commit into
danoli3:masterfrom
thbeu:enable-large-file-io

Conversation

@thbeu

@thbeu thbeu commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

This patch enables FI to load TIFF files larger than 2 GB (since long is 32-bit on MSVC).

Caveats:

  • Public interfaces are changed -> breaks FI consumers like openframeworks
  • There are still some type casts to promote / demote types which are undesired actually.

@thbeu
thbeu force-pushed the enable-large-file-io branch 2 times, most recently from 80b78d4 to 7826931 Compare October 22, 2026 07:44
@thbeu
thbeu force-pushed the enable-large-file-io branch from 7826931 to 2a6df1f Compare October 22, 2026 07:45
@danoli3

danoli3 commented Oct 22, 2026

Copy link
Copy Markdown
Owner

I wonder if we can just define the types like say long is INT64 in some definition file etc. so we can keep the original datatypes.

@thbeu

thbeu commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor Author

I wonder if we can just define the types like say long is INT64 in some definition file etc. so we can keep the original datatypes.

Internally yes, but not on public interface level.

I did some similar internal switches for matio library, see https://github.com/tbeu/matio/blob/master/src/matio_private.h#L24-L51, all private only.

@danoli3

danoli3 commented Oct 28, 2026

Copy link
Copy Markdown
Owner

Merged via #197

@danoli3 danoli3 closed this Oct 28, 2026
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.

2 participants