Files
AnyImage/openspec/changes/archive/2026-09-17-auto-crop-panorama-input/tasks.md
nan 076a8c90f1 Add specifications for two-times upscale and unified depth plane features
- Introduced the two-times upscale specification detailing requirements for unified output, fixed model presets, arbitrary dimensions, and consistent job behavior.
- Added scenarios for existing models, repeated upscale, and handling of alpha preservation.
- Created the unified depth plane specification outlining geometry modes, stable interface, and asset evaluation.
- Defined scenarios for mode switching, relief and camera preservation, and validation of delivered assets.
2026-09-17 17:19:05 +08:00

1.0 KiB

1. Crop Bounds

  • 1.1 Add a common helper that returns the largest deterministic centered exact 2:1 integer-pixel bounds and rejects dimensions that cannot produce a positive crop
  • 1.2 Add focused tests for exact, wide, tall, odd-width, uneven-margin, and unusably small dimension cases

2. Panorama Conversion

  • 2.1 Update Convert to Panorama to keep animated-image validation, compute the crop bounds, and pass them into the shared material color input preparation
  • 2.2 Report one crop warning with original and cropped dimensions only when pixels are removed
  • 2.3 Update panorama operator tests to verify arbitrary aspect ratios submit cropped color and analysis inputs, exact 2:1 input stays unchanged, and unsupported sources remain rejected

3. Verification

  • 3.1 Run the related common image and panorama conversion test suites and confirm they pass
  • 3.2 Inspect the final diff and search the panorama conversion path to confirm the strict 2:1 rejection and stale expectations are removed