-
Notifications
You must be signed in to change notification settings - Fork 0
P4-6: Compress/optimize images #85
Copy link
Copy link
Closed
Labels
go:needs-researchNeeds investigationNeeds investigationmediaMedia/image/video operationsMedia/image/video operationsoptimizationOptimization workOptimization workphase-4Phase 4: Presentation OptimizationPhase 4: Presentation OptimizationsquadSquad triage inbox — Lead will assign to a memberSquad triage inbox — Lead will assign to a membersquad:copilotAssigned to @copilot (Coding Agent) for autonomous workAssigned to @copilot (Coding Agent) for autonomous worksquad:shiherlisAssigned to Shiherlis (Tester)Assigned to Shiherlis (Tester)type:featureNew capabilityNew capability
Milestone
Metadata
Metadata
Assignees
Labels
go:needs-researchNeeds investigationNeeds investigationmediaMedia/image/video operationsMedia/image/video operationsoptimizationOptimization workOptimization workphase-4Phase 4: Presentation OptimizationPhase 4: Presentation OptimizationsquadSquad triage inbox — Lead will assign to a memberSquad triage inbox — Lead will assign to a membersquad:copilotAssigned to @copilot (Coding Agent) for autonomous workAssigned to @copilot (Coding Agent) for autonomous worksquad:shiherlisAssigned to Shiherlis (Tester)Assigned to Shiherlis (Tester)type:featureNew capabilityNew capability
Description
Downscale images that are larger than their display dimensions warrant. Allow target DPI selection (e.g., 150 DPI for screen, 300 DPI for print). Support format conversion (BMP/TIFF to PNG/JPEG for better compression). Return compression statistics before/after per image.
Technical Approach
Architectural Decision: Image Processing Library
Choose between:
Recommendation: SkiaSharp. Pro: cross-platform, high quality. Con: new NuGet dependency. Document in README and NuGet dependency tracking.
Acceptance Criteria
Tier
Tier 2 — Write Operations (optimization)
Size Estimate
Large (6–8 hours, includes dependency research and E2E validation)
Dependencies
None direct; pairs well with P4-2 for media analysis
Risk Mitigation