Skip to content

fix: improve structural and DPI validation - #2

Draft
Teresa1228 wants to merge 2 commits into
yuyou-dev:mainfrom
Teresa1228:codex/fix-validation-and-effective-dpi
Draft

fix: improve structural and DPI validation#2
Teresa1228 wants to merge 2 commits into
yuyou-dev:mainfrom
Teresa1228:codex/fix-validation-and-effective-dpi

Conversation

@Teresa1228

Copy link
Copy Markdown

Summary

  • mark unimplemented structural checks as not automatically detected instead of showing false success
  • validate the configured bleed against the selected material recommendation
  • compute effective image DPI from cropped pixels on both axes and use the lower value
  • add pure-function tests for crop, non-uniform scaling, and invalid dimensions

Verification

  • npm test
  • npm run check:template-sync
  • npm run build
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant