[Feature Request]: Add date and/or time to a stamp
Feature Description
It would be nice to be able to automagically add a time and/or date option when stamping a file.
Ex: Stamping with a “RECEIVED” stamp and having a date and/or time stamped below or after it.
Why is this feature valuable?
It would help people and offices who scan mail into their systems to reduce storage space. The added date/time would help them with “RECEIVED”, “PAID” and similar stamps.
Suggested Implementation
No response
Additional Information
No response
No Duplicate of the Feature
- [x] I have verified that there are no existing features requests similar to my request.
A relatively easy way to implement this would be to replace certain known fields like @date or @time in the stamp text with their respective values. Some preprocessing already takes place while splitting the input into lines:
https://github.com/Stirling-Tools/Stirling-PDF/blob/409cada93a40cfc606f3fab3aff2f91f394e96b5/app/core/src/main/java/stirling/software/SPDF/controller/api/misc/StampController.java#L254
It should be trivial to add another stage to replace certain fields immediately before that. I would suggest:
@date: ISO date@time: ISO time (UTC)@page_count: Number of pages in the document (important based on OP's usecase under "RECEIVED")- Document metadata (maybe?)
Hi, may I work on this one?
Sure!