Skip to content

Conversation

@radarhere
Copy link
Member

#9053 removed BGR;15, BGR;16 and BGR;24, so

} else if (isModeI16(mode)) {
/* EXPERIMENTAL */
/* 16-bit raw integer images */
im->bands = 1;
im->pixelsize = 2;
im->linesize = xsize * 2;
im->type = IMAGING_TYPE_SPECIAL;
strcpy(im->arrow_band_format, "s");
strcpy(im->band_names[0], "I");

is the only IMAGING_TYPE_SPECIAL left.

@radarhere radarhere changed the title Simplified code now that I;16* modes are the only IMAGING_TYPE_SPECIAL Simplify code now that I;16* modes are the only IMAGING_TYPE_SPECIAL Oct 17, 2025
@hugovk hugovk merged commit e36e670 into python-pillow:main Oct 27, 2025
52 checks passed
@radarhere radarhere deleted the unused branch October 27, 2025 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants