No description
Issue: Markers still misaligned after DPI scaling Cause: pdfplumber uses top-left origin, I was flipping Y incorrectly Fix: Remove Y-flip - both pdfplumber and SVG use top-left (0,0) Coordinate Systems: - pdfplumber: (0,0) = top-left, y increases DOWN - SVG: (0,0) = top-left, y increases DOWN - Standard PDF: (0,0) = bottom-left, y increases UP Since pdfplumber already gives us top-left coords, just scale, don't flip! Now: x_pixel = x_pdf × scale, y_pixel = y_pdf × scale 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| README's | ||
| results | ||
| Test_files | ||
| uploads | ||
| .env.example | ||
| .gitignore | ||
| api.php | ||
| create_test_pdf_with_images.py | ||
| enterprise_pdf_checker.py | ||
| index.html | ||
| requirements.txt | ||
| test_env.py | ||
| test_php_env.php | ||
| test_quick.sh | ||
| test_visual_inspector.pdf | ||