Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

feat: image processing pipeline (resize, WebP/AVIF)

Đang mở
#2 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp, html
Lĩnh vực
backend, performance

Hướng nghiên cứu

Start by reading the image resource handling and build pipeline; the issue does not name specific files or tests. Compare the listed imaging backends, then assess how the Liquid resource API, site-level configuration, generated-image cache, and release RIDs fit together. Done means the acceptance criteria pass, including a no-op second build and trimmed single-file releases for every published RID.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

c:assets p:high t:feature

Current State

No image processing at all: page resources and static/ files are copied byte-for-byte. Themes cannot resize,
crop or convert images, and there is no automatic compression.

Tasks

  • Pick the imaging backend and flag its cost (NetVips/libvips: AVIF+WebP, native binaries per RID; SkiaSharp:
    WebP, no AVIF encoder; ImageSharp: managed, no AVIF, split license)
  • Liquid API on resources: resize, fit, fill, crop, format (webp/avif/png/jpg), quality
  • Site-level Images: config that converts/compresses every page image automatically (opt-in)
  • Generate srcset variants and a <picture> partial/render hook
  • Content-hash cache in resources/_gen (or similar) so unchanged images are not reprocessed
  • Read EXIF orientation; strip metadata by default

Acceptance Criteria

  • {{ page.Resources | ... | resize: '800x' | format: 'webp' }} emits the processed file and its URL
  • A second build with no image changes reprocesses nothing
  • Works in the trimmed single-file release binaries for every published RID

Related

Ngôn ngữ chính
C#
Star
1
Fork
0
Merge trung bình
10 giờ 23 phút
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của MASS4ORG/Fanstatic

Tất cả issue của MASS4ORG/Fanstatic

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.