Summary: | Needed possibility to create own stamps in the tools of Okular | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | kiv |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | haxtibal, lueck, nate |
Priority: | NOR | ||
Version: | 1.3.3 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
kiv
2018-08-03 06:11:13 UTC
Please read Using Custom Stamps on https://docs.kde.org/trunk5/en/kdegraphics/okular/configannotations.html (In reply to Burkhard Lueck from comment #1) > Please read Using Custom Stamps on > https://docs.kde.org/trunk5/en/kdegraphics/okular/configannotations.html Basically yes, but as I understand the request is about PDF documents (Adobe Reader is mentioned), and so we suffer from bug 383651. Dear all, My idea was to create a stamp for PDF documents to indicate that current document is signed. Because in some cases people use the PDF only without the accompanying signature file. Ideally it could be fine if people could sign some documents and Okular can automatically put the signature in the document and indicate by some stamp that this current document is signed and the key is trusted, as Acrobat DC can do it. Same may be useful also for other document formats not only PDF's. As I can not do it this way like Acrobat DC by Okular, I am trying to have a custom stamp to indicate somehow that current document is signed digitally. So I tried, to create such custom stamp. I was reading the mentioned manual before to try creating my custom stamp, but it did not help for me. This is because can not use for stamps any image Okular can open before that. I have tested jpg, png, ps, pdf, tiff and others. to create such custom stamp. Probably I am doing some thing wrong, but may be my Okular has some bug? Could you please some one inform where are keept the images for already available stamps? I am going to check what kind of images they are and prepare my stamp image same like it and put there to check if I could create then a stamp with my image. Sorry for writing again, and sorry for not very polyte English I use. This is because English is far away from my mother language. Any way just to mention that if I could put the needed stamp even if because the mentioned bug it will be not printed on paper, the availability of such stamp on the computer screen with the document will be great progress. (In reply to kiv from comment #3) > So I tried, to create such custom stamp. > I was reading the mentioned manual before to try creating my custom stamp, > but it did not help for me. > This is because can not use for stamps any image Okular can open before > that. I have tested jpg, png, ps, pdf, tiff and others. to create such > custom stamp. > > Probably I am doing some thing wrong, but may be my Okular has some bug? > > Could you please some one inform where are keept the images for already > available stamps? The shipped stamps are all in one svg file probably at /usr/share/okular/pics/stamps.svg. But you don't have to save your custom stamps there. I just created /home/tobias/mystamp.jpg, and did what the manual tells. It works. The procedure is indeed a bit uncommon: You have to click into the drop down field. Then you're able to enter text. You enter the full, absolute file path there (/home/tobias/mystamp.jpg) and click ok. Then your stamp should be recognized. Have you tried that? (In reply to kiv from comment #4) > Any way just to mention that if I could put the needed stamp even if because > the mentioned bug it will be not printed on paper, the availability of such > stamp on the computer screen with the document will be great progress. The bug prevents printing. Further more, custom stamps will only show up in Okular but not in other readers like Acrobat Reader. If both is not a problem to you, then the feature is definitely already there. Dear Tobiras, I am doing exactly same as you, but my stamp get empty. I can put my custom stamp, but my image is not visible there. I can remove it from the annotated file , but it is only a empty frame. What Linux distribution are you using? I am trying all this in openSUSE Leap 15. If needed I can create some short movie how I am doing it and it does not work. But I am afraid it could produce too big file. Finally I managed to solve this problem for me. Thanks for the given information I put my swg image in /usr/share/okular/pics/ but it did not work. Then I tryied wit some of the PNG pictures there and it worked as expected. So then I have created my PNG picture and put it in /usr/share/okular/pics/ and it worked as expected. Then put same picture on other places in my computer but could not create stamp from no other places than /usr/share/okular/pics/ This way my problem is solved even not as expected but this strange way. *** This bug has been marked as a duplicate of bug 383652 *** |