Skip to content

Conversation

@N-Dekker
Copy link
Contributor

Follow-up to pull request #5421 commit b209c1a
"STYLE: Remove template specializations of ImageIOBase::MapPixelType"

Note that MeshIOBase::MapComponentType supports long double as pixel component type, whereas ImageIOBase::MapPixelType does not. Moreover, MeshIOBase::MapComponentType unconditionally maps char to CHAR, whereas ImageIOBase::MapPixelType maps char to either CHAR or UCHAR, depending on the signedness of char.

Follow-up to pull request InsightSoftwareConsortium#5421
commit b209c1a
"STYLE: Remove template specializations of `ImageIOBase::MapPixelType`"

Note that `MeshIOBase::MapComponentType` supports `long double` as pixel
component type, whereas `ImageIOBase::MapPixelType` does not. Moreover,
`MeshIOBase::MapComponentType` unconditionally maps `char` to `CHAR`, whereas
`ImageIOBase::MapPixelType` maps `char` to either `CHAR` or `UCHAR`, depending
on the signedness of `char`.
@github-actions github-actions bot added area:IO Issues affecting the IO module type:Style Style changes: no logic impact (indentation, comments, naming) labels Jun 27, 2025
@dzenanz dzenanz requested a review from blowekamp June 27, 2025 14:06
@N-Dekker N-Dekker marked this pull request as ready for review June 30, 2025 11:13
Copy link
Member

@thewtex thewtex left a comment

Choose a reason for hiding this comment

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

💯

@thewtex thewtex merged commit 3574e45 into InsightSoftwareConsortium:main Jun 30, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:IO Issues affecting the IO module type:Style Style changes: no logic impact (indentation, comments, naming)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants