Skip to content

Conversation

@saitoha
Copy link
Owner

@saitoha saitoha commented Aug 14, 2025

This patch adds a WIC (Windows Imaging Component) based image loader and a WinHTTP-based network backend (as an alternative to libcurl) for Windows builds.

The WIC-based loader can be helpful when dealing with image formats not otherwise supported, particularly .ico and .webp.

Unlike curl, WinHTTP supports only two protocols - HTTP and HTTPS - but its lack of external dependencies makes it a good fit from a portability standpoint.

Cygwin) when available. Depending on the installed codecs,
this change may allow displaying formats such as
*.ico, *.webp, *.wdp, *.heif, *.heic, and *.dds.
This change allows the creation of Windows binaries
with network access functionality without depending
on libcurl, libssl, libcrypt, or ca-certificates,
thereby improving portability.
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