Add BC7/BC5 thumbnails, installer, and CI#1
Merged
Conversation
Decoding - Add self-contained BC7 (full 8-mode) and BC5 (normal-map) software decoders to s3tc.cpp; BC7 tables/flow match the BC7 spec. Wire both into TexThumbnailProvider.cpp (tex_format 0x0D / 0x0E). Priority over Photoshop - DllRegisterServer now also registers the handler CLSID under the current .tex ProgID and SystemFileAssociations\.tex in HKCU, which overrides the HKLM handler Photoshop registers. Only the thumbnail subkey is touched. DllUnregisterServer tears these down too. Distribution - scripts/install-thumbnail-handler.ps1 + uninstall script: one-liner `iwr ... | iex` install that pulls the DLL from the latest Release and registers it per-user (no admin). - scripts/install-local.ps1: build + install a local DLL for testing. - .github/workflows/build.yml: build every push/PR, upload DLL artifact. - .github/workflows/release.yml: on `v*` tag, build and attach the DLL (+ sha256) to the GitHub Release. Cleanup - Rewrite README for this project; remove the obsolete VS2008 .vcproj.
b01ceee to
448adb7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Decoding
Priority over Photoshop
Distribution
iwr ... | iexinstall that pulls the DLL from the latest Release and registers it per-user (no admin).v*tag, build and attach the DLL (+ sha256) to the GitHub Release.Cleanup