Copy link to clipboard
Copied
Hello,
I am developing a PDF form. An image can be uploaded in one of the fields. I want this image to always have rounded corners. Is it possible to set this?
Kind regards,
Esther
Copy link to clipboard
Copied
That would require editing or somehow obscuring the image. Neither of which is easily done with a script in a document. By which I mean that it's not possible.
Copy link to clipboard
Copied
Too bad, but thank you for your response!
Copy link to clipboard
Copied
Well there is a way to obscure the image. It is possible to dynamically create a frame with rounded inside corners using the Polyline annotation. Then place this frame over the image button. But to do it you'll need to create an algorithm for it. Lots of geometry.
Copy link to clipboard
Copied
I think it should also be possible to use another image field with a fixed image of a "picture frame", ie. an image with a transparent center and an opaque border, and overlay it on top of the first image to get the same effect. Also a bit tricky to implement, though, especially if you want to use the first field multiple times.
Copy link to clipboard
Copied
Probably even more tricky since two form fields are used. At least with a drawing annotation the ordering is a bit more predictable.