Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the "--pixel-type" option #173

Conversation

melissalinkert
Copy link
Member

Fixes #154.

As described in #154, --pixel-type never worked quite right, and we now have other ways to solve the problems it was meant to fix. This removes the option entirely (no deprecation), but could be changed to keep the option a no-op if anyone feels strongly.

Maybe worth including in the next patch release along with #171 (review)?

@sbesson
Copy link
Member

sbesson commented Nov 2, 2022

we now have other ways to solve the problems it was meant to fix.

Is this primarily referring to the min/max calculation per channel which is now happening by default in bioformats2raw 0.5.0? From a client perspective, this should definitely make it easier to rescale the data without having to modify the pixel type during conversion.

This removes the option entirely (no deprecation), but could be changed to keep the option a no-op if anyone feels strongly.

Re-reading the original issue, I think we are talking about a data loss issue which is arguably one of the worst kind in a conversion library. I would also support dropping the option entirely.

@chris-allan chris-allan merged commit 5a6015f into glencoesoftware:master Dec 5, 2022
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.

--pixel-type behaves incorrectly
4 participants