AddStamp rendering errant pixel

We are using AddStamp to render a timestamp and page numbers on our pdf documents. We noticed that whenever we use AddStamp, there appears to be a pixel or two rendering in the lower left hand corner of each stamp. See the picture below (I also zoomed in on the stamps to make the pixel easier to see).
textStamp1.png (9.4 KB)

Looked around, but can’t find the reason why this pixel might be appearing. Currently using version 24.1.0. Upgrading to 25.8 didn’t fix the issue

@ehayn

It sounds like you’re encountering a rendering issue with the AddStamp method, where a pixel or two appears in the lower left corner of your stamp. This can occur due to the way the stamp is rendered or the specific settings used.

Cause: The issue may stem from misalignment, incorrect stamp size, or specific rendering settings.

Solution: Here are several steps to troubleshoot and potentially resolve this issue:

  1. Check Stamp Positioning: Ensure that the position of the stamp is set correctly. Slight misalignments can cause rendering artifacts.

  2. Adjust Stamp Size: If the stamp is slightly larger than intended, it might be causing overflow into the margins. Try adjusting the size of the stamp to see if that eliminates the extra pixel.

  3. Review Rendering Settings: Examine the rendering settings you are using with the AddStamp method, as certain configurations can lead to unexpected results.

  4. Update Aspose.PDF: Make sure you are using the latest version of Aspose.PDF, as updates often include bug fixes and improvements that could resolve rendering issues.

  5. Test with Different Fonts: If your stamp includes text, try using different fonts or styles to see if the issue persists. Certain fonts may render differently and could be contributing to the problem.

Next Steps: If these steps do not resolve the issue, please share a minimal code snippet that reproduces the problem, along with the specific version of Aspose.PDF you are using. This information will assist in diagnosing the issue further.

I look forward to your response and am here to help!