Skip to content

Helper as Executable#778

Open
ronnyhopf wants to merge 16 commits intocyanfish:masterfrom
ronnyhopf:py_lib
Open

Helper as Executable#778
ronnyhopf wants to merge 16 commits intocyanfish:masterfrom
ronnyhopf:py_lib

Conversation

@ronnyhopf
Copy link

No description provided.

- Updated NAPS2.Images.Mac.csproj target framework
- Updated NAPS2.Sdk.csproj target framework
- Updated documentation and error messages
- Fixes NETSDK1202 build error with .NET 10 SDK
- Fixes Xcode version requirement error
- net9-macos SDK 26.0 requires Xcode 26.0
- GitHub Actions runner has Xcode 16.4
- Using TargetPlatformVersion 15.0 to use compatible SDK
- Add SignatureFieldForm for interactive field placement with drag-and-drop
- Implement immediate field saving to PostProcessingData on mouse release
- Add SignatureFieldEmbedder to invoke Python/pyHanko for field embedding
- Create embed_signature_fields.py script with custom appearance streams
- Integrate field embedding into PDF export workflow
- Add support for .venv Python detection
- Display existing fields in green during placement
- Support multiple signature fields per page

The feature allows users to place signature fields on scanned documents
which are then embedded as interactive PDF form fields using pyHanko.
Fields appear as gray boxes with 'Sign here' text and can be signed
with digital certificates in PDF viewers.
- Use both page width and height for coordinate conversion (was using height for both)
- Fix signature field placement to use proper page dimensions
- Remove non-existent UpdatePreviewImage() call
- Saved fields now properly displayed in green after placement
- Coordinates should now match the visual placement accurately
Add Nuitka build dependencies and build scripts for a bundled signature helper binary.\n\nChanges:\n- Add Nuitka build deps in pyproject/uv lock\n- Add scripts to build the helper (Python + shell wrapper)\n- Load bundled helper in SignatureFieldEmbedder with fallback to Python script\n- Include helper in macOS .app bundle packaging\n- Document the build process
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.

2 participants