Skip to content

Rename IMAGING_TYPE_SPECIAL to IMAGING_TYPE_I16#9794

Open
radarhere wants to merge 2 commits into
python-pillow:mainfrom
radarhere:special
Open

Rename IMAGING_TYPE_SPECIAL to IMAGING_TYPE_I16#9794
radarhere wants to merge 2 commits into
python-pillow:mainfrom
radarhere:special

Conversation

@radarhere

Copy link
Copy Markdown
Member

Since #9053 removed BGR;15, BGR;16 and BGR;24, the only IMAGING_TYPE_SPECIAL modes left are I;16 modes.

} else if (isModeI16(mode)) {
/* EXPERIMENTAL */
/* 16-bit raw integer images */
im->bands = 1;
im->pixelsize = 2;
im->type = IMAGING_TYPE_SPECIAL;

Perhaps it would be clearer to rename IMAGING_TYPE_SPECIAL to IMAGING_TYPE_I16?

@akx akx left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Good clarification!

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