feat(#53): replace image/rawler/libheif decode stack with glycin - #54
Open
moments-claude-bot wants to merge 1 commit into
Open
feat(#53): replace image/rawler/libheif decode stack with glycin#54moments-claude-bot wants to merge 1 commit into
moments-claude-bot wants to merge 1 commit into
Conversation
Adopt glycin as the single image loading library. glycin runs decoders in sandboxed subprocesses, applies EXIF orientation automatically, and handles 40+ formats (JPEG, PNG, WebP, TIFF, HEIC, RAW, AVIF, JXL, SVG). Removed: - FormatRegistry / FormatHandler / StandardHandler / RawHandler abstraction - rawler and libheif-rs crate dependencies - apply_orientation helper (glycin handles orientation) - libheif registration call in main() - is_gtk_native() branching in viewer Changed: - Thumbnailer: glycin::Loader decodes on Tokio executor; raw bytes from frame.buf_slice() are passed to spawn_blocking for resize + WebP encode - Viewer: glycin::Loader decodes on Tokio; bytes assembled into gdk::MemoryTexture on the GLib context via glycin_format_to_gdk() - Importer: FormatRegistry.is_supported() replaced by SUPPORTED_EXTENSIONS static slice (all formats glycin handles) - CI: swap libheif-devel for libseccomp-devel/lcms2-devel/fontconfig-devel Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Adopt glycin as the single image loading library. glycin runs decoders
in sandboxed subprocesses, applies EXIF orientation automatically, and
handles 40+ formats (JPEG, PNG, WebP, TIFF, HEIC, RAW, AVIF, JXL, SVG).
Removed:
Changed:
frame.buf_slice() are passed to spawn_blocking for resize + WebP encode
gdk::MemoryTexture on the GLib context via glycin_format_to_gdk()
static slice (all formats glycin handles)
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com