Skip to content

Commit

Permalink
Release v1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jonclayden committed May 17, 2023
1 parent a0d0166 commit 73ab7c0
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: RNifti
Version: 1.4.5
Date: 2023-01-30
Version: 1.5.0
Date: 2023-05-17
Title: Fast R and C++ Access to NIfTI Images
Authors@R: c(person("Jon", "Clayden", role=c("cre","aut"),
email="[email protected]", comment=c(ORCID="0000-0002-6608-0619")),
Expand Down
17 changes: 17 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@ Significant changes to the RNifti package are laid out below for each release.

===============================================================================

VERSION 1.5.0

- The `writeNifti()` and `writeAnalyze()` functions gain a "compression"
argument to control the compression level used when writing gzipped images.
- The viewer will now show 4D images with fourth dimension 3 as vectors if the
`RNifti.d4vectors` option is `TRUE`. This is off by default (following the
previous behaviour) as it's less explicit than an image with a vector intent.
- The `niftiHeader()` function will no longer call `asNifti()` on an argument
that looks like a path, as this will wastefully read in the pixel data when
only the metadata is needed.
- Support for `MriImage` objects with complex or RGB types has been added.
- `cfloat` and `cdouble` are now additionally accepted as datatypes for 32-bit
and 64-bit floating-point complex types, respectively.
- The upstream NIfTI libraries have been updated.

===============================================================================

VERSION 1.4.5

- The package now works around the deprecation of `std::iterator` in C++17.
Expand Down
2 changes: 1 addition & 1 deletion inst/include/RNifti.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// Defined since RNifti v0.10.0, and equal to 100 * (major version) + (minor version). May not
// change if the API does not change, and in particular never changes with patch level
#define RNIFTI_VERSION 104
#define RNIFTI_VERSION 105

// Versions 1 and 2 of the NIfTI reference library are mutually incompatible, but RNifti does some
// work to get them to play nicely:
Expand Down

0 comments on commit 73ab7c0

Please sign in to comment.