stdImage: add WebP decoding support
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- visualbasic
- Lĩnh vực
- desktop-dev
Hướng nghiên cứu
Read the stdImage module (e.g., src/stdImage.cls) to locate CreateFromFile and CreateFromBinary and their Data URL/URL callers. Review the linked Microsoft WIC/GDI+ docs to evaluate a WebP decoder. Implement decoding with fallback errors, then add the listed tests, update changelog.md and regenerate docs.json. Done means WebP input works consistently with docs updated.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Split out from #98 so binary/Data URL export and clipboard improvements can proceed independently.
Current behaviour: stdImage.CreateFromFile rejects .webp files. GDI+ has no built-in WebP decoder, so this needs a separate decoding approach.
Scope:
- Choose a decoder: evaluate WIC with an available WebP codec versus an optional external decoder. Document platform, installation, deployment, and licensing requirements.
- Keep existing image formats usable by importing stdImage alone, without mandatory new dependencies.
- Support WebP input consistently through CreateFromFile and CreateFromBinary, and through their Data URL and URL callers.
- Define transparency/background and animated WebP behaviour.
- Provide clear errors for missing codecs and malformed/unsupported data, with native resource cleanup.
- Add lossy/lossless, transparency, invalid-input, missing-codec, existing-format, and 32/64-bit Office checks where available.
- Update structured documentation, examples, changelog.md, and regenerate/compare docs.json.
WebP encoding/export is outside the initial scope. Preserve existing stdImgFormat numeric values if extended.
References:
https://learn.microsoft.com/en-us/windows/win32/gdiplus/-gdiplus-using-image-encoders-and-decoders-use
https://learn.microsoft.com/en-us/windows/win32/wic/-wic-about-windows-imaging-codec
- Ngôn ngữ chính
- VBA
- Star
- 412
- Fork
- 70
- Merge trung bình
- 20 giờ 38 phút
- Pull request đã merge (30 ngày)
- 18
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của sancarn/stdVBA
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
sancarn/stdVBA#140 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
sancarn/stdVBA#138 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement lib-stdArray
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 1 ngày
-
`stdUIElement` megathreadĐang mởenhancement megathread
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
`stdJSON` parse performanceĐang mởenhancement lib-stdJSON
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
sancarn/stdVBA#82 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của sancarn/stdVBA
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
omacom/omarchy#17225 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
jellyfin/jellyfin-desktop#1290 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
NousResearch/hermes-agent#147433 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
budgie-haste-appletĐang mởPackage: Removal Request
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày