Skip to content

Improved I;16 operations on big endian#5901

Merged
hugovk merged 2 commits intopython-pillow:mainfrom
radarhere:i16
Dec 28, 2021
Merged

Improved I;16 operations on big endian#5901
hugovk merged 2 commits intopython-pillow:mainfrom
radarhere:i16

Conversation

@radarhere
Copy link
Copy Markdown
Member

@radarhere radarhere commented Dec 22, 2021

Resolves #1204

Helps #3243, #3927 and #4213

@radarhere radarhere added the Big-endian Big-endian processors label Dec 22, 2021
pack = j2k_pack_i16;
prec = 16;
bpp = 12;
} else if (strcmp(im->mode, "I;16B") == 0) {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This isn't a functional change, it's just cleaning up some duplicate code.

@radarhere radarhere changed the title Fixed JPEG2000 I;16 images on big endian Improved I;16 operations on big endian Dec 28, 2021
@hugovk
Copy link
Copy Markdown
Member

hugovk commented Dec 28, 2021

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Big-endian Big-endian processors

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenJPEG failing tests on big endian

2 participants