Skip to content

platform: add WIC (Windows Imaging Component) to the SDK #34591

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

Merged
merged 1 commit into from
Nov 5, 2020

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Nov 5, 2020

The Windows Imaging Component does not get included by any of the other
headers. Explicitly add a submodule for the component.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@compnerd
Copy link
Member Author

compnerd commented Nov 5, 2020

CC: @egorzhdan

Copy link
Contributor

@egorzhdan egorzhdan left a comment

Choose a reason for hiding this comment

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

I think this submodule requires linking against Windowscodecs.lib (I didn't check the capitalization 🙂)
https://docs.microsoft.com/en-us/windows/win32/api/wincodec/nf-wincodec-wicconvertbitmapsource#requirements

@compnerd
Copy link
Member Author

compnerd commented Nov 5, 2020

Ah, thanks, I was looking to figure out the import library for this, but looking at some of the interfaces for it, didn't happen to come across it.

The Windows Imaging Component does not get included by any of the other
headers.  Explicitly add a submodule for the component.
@compnerd
Copy link
Member Author

compnerd commented Nov 5, 2020

@swift-ci please smoke test

@compnerd compnerd merged commit 6b6e419 into swiftlang:main Nov 5, 2020
@compnerd compnerd deleted the WIC branch November 5, 2020 22:19
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