Skip to content

Commit

Permalink
add support for pushing to mmapped files (#71)
Browse files Browse the repository at this point in the history
* add support for pushing to writeable mmapped files

fixes #70

* extra security, mmap doesn't let you immediately overwrite

To overwrite you need to convert a readonly file to a non-readonly file.

* improve IFD on-disk space estimation and handling of remote data

* support undef mmapped files

This is useful for create now, append later

* update docs and add examples

* don't fail if the test file doesn't exist

* simplify writer example

* use ColorTypes instead of Colors for consistency

* add mappedarrays to doc project
  • Loading branch information
tlnagy authored Jan 1, 2022
1 parent 61d16ec commit f234035
Show file tree
Hide file tree
Showing 24 changed files with 1,289 additions and 110 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.DS_Store
Manifest.toml
!docs/Manifest.toml
/dev/
docs/build/
docs/src/examples/
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "TiffImages"
uuid = "731e570b-9d59-4bfa-96dc-6df516fadf69"
authors = ["Tamas Nagy <[email protected]>"]
version = "0.5.2"
version = "0.5.3"

[deps]
ColorTypes = "3da002f7-5984-5a60-b8a6-cbb66c0b333f"
Expand Down
Loading

2 comments on commit f234035

@tlnagy
Copy link
Owner Author

@tlnagy tlnagy commented on f234035 Jan 1, 2022

Choose a reason for hiding this comment

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

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/51494

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.5.3 -m "<description of version>" f2340358071a3996826a0b2983f15cc76c31de38
git push origin v0.5.3

Please sign in to comment.