How to make a ska new seal and signature. Help with working with PDFSign. We customize the seal, signature and logo

In some cases, it is necessary to add a stamp (seal) to a page of a PDF document. For example, in the case of invoices coming from counterparties in a PDF file, a standard stamp must be added for accounting purposes. It indicates the date of payment of the invoice and a number of other parameters. Since the invoice is processed in in electronic format, it is obvious that there is no point in putting a stamp on paper, since you need to perform a number of time-consuming but meaningless operations:

  1. Print the invoice on a printer (“I broke the printer, saved the tree” 🙂).
  2. Put a stamp (stamp, facsimile).
  3. Fill in the fields of the stamp by hand.
  4. Scan to send to an accounting employee.

Filling out the stamp can be done entirely electronically in a minimum number of steps.

Let's consider solving the problem using the example of a stamp for affixing to accounting accounts.

  1. We put a stamp on a blank sheet of paper, fill in the fields that are unchanged (full name, signature, relative date of submission of the document, etc.) to obtain a reference image.
  2. We scan the document.
  3. Open the scanned file in a graphics editor (for example, Paint.NET) and crop the scanned stamp along the contour we need (menu item Image -> Crop to selection). You can remove the background and save it as PNG. FoxitReader supports transparent backgrounds. It turns out something like:
  4. Open Foxit Reader.
  5. Go to the menu item Comments -> Stamps tab -> Create -> Create a custom quick stamp (Comments -> -> Create -> Create Dynamic Templates). The difference from “Create Custom Templates” is that a dynamic template allows the insertion of dynamic (changing) fields, for example, date. If such fields are not needed, then use “Create Specified Stamp”.
  6. In the form, select the “Create your own stamp template” button.

  7. Select the scanned template file. Give the template a name.
  8. Next you need to add a dynamic field, for example, date. To do this, you need to fill in all the fields: category, field name, font (size is usually 8 pt), what kind of dynamic field will be placed (in the example - ), font size. Then click the “Add” button. A field will appear in the preview that needs to be moved to the desired location on the stamp. Each time a stamp is added to the page, the date in the field will be updated to the current one. Click "Ok".
  9. In Foxit Reader, open the account on which you want to place the stamp and go to the Comments -> Stamp menu and select the newly created stamp.
  10. An image of a stamp will appear on the document form, which must be placed in the desired place in the document.
  11. Note that the dynamic field in the stamp is automatically filled with the current date.
  12. To fill in other fields in the “Home” menu, select the sub-item “ Typewriter" and place the cursor where you want to enter the text.
  13. Save the PDF document with the added stamp under the same name (File -> Save) or select a new File -> Save As.

That's all. We use modern technologies, or better yet, abandon rudimentary cliches altogether. 🙂

P.S. Official papers sent to counterparties should not be signed in this way. Here is a link to the article.

Now I will show with a simple example how you can quickly create a round stamp in Microsoft Word. I won’t show you how to create a rectangular stamp, because it’s even simpler. In the process, the usual previously studied Word tools will be used, but in a slightly different way.

To ensure that fewer questions arise when reading the article, I highly recommend that you first read about the general principles of working with pictures and other non-text objects in Word. The fact is that this will also come in handy when creating stamps.

It is also worth noting that this article is not intended for you to learn how to make “fake” stamps using a common office program. This is just a demonstration of the capabilities. By the way, sometimes you need to put a facsimile signature or seal on a document in 1C, and there is standard functionality for this.

An example of a round seal created in Word

The result of all operations is shown below in the form of a picture. The created “seal” is, of course, very primitive, but the principle is demonstrated. Let me remind you that if you want to do something more complicated, then you need to spend a lot more time, and on your own. You should not hope that the Internet has exactly what you need - I have already spoken about the consequences of such an attitude towards work.

website_

Any round seal has a rim, text in a circle, text or a picture in the center. Here possible options, one of which is shown in the picture. This is easy to do, but it is worth considering one feature.

The main difficulties when creating a round seal in Word

The main “difficulty” with this is that you don’t know how to make the text in a circle. It was because of this that we went online to solve such a primitive problem. Did you guess right? Most likely this is the case.

This only speaks of poor knowledge of Word, nothing else. Let's see how to make the text in a circle and everything else.

There was an important part of the article, but without JavaScript it is not visible!

Making a round stamp in Word yourself

I won’t explain how to make a bezel and a picture in the center. This is an autoshape and a regular picture from an external file - everything is simple here. But curved text is made using the properties of the Caption object. First, add an inscription to the sheet and write text inside. It is better to write the entire text at once, at least the one that forms one circle inside the “seal”. This is all because it is more convenient to adjust the curvature of the text this way.

Next, select the Inscription and in the Ribbon menu open the Format tab that appears, look for “Text effects” there, and in them - “convert / circle”. That, in fact, is the whole trick with the text curved in a circle. There, if desired, you can select any type of text distortion.

If the "circle" distortion option is selected, then you must then select the size of the inscription and font so that the curvature of the text coincides with the curvature of the rim of the "seal", otherwise the text will not run exactly along the rim, but will go to the side. All other operations are clear and without comment.

Let's sum it up

This is how you can create a round seal in Word. It is worth noting that when printing on a black and white printer, all colors are converted to grayscale. Also instead of laser printer for prints it is better to use an inkjet (remember why?) or print to a file and take it to a place where there is a color printer.

I also remind you once again that this is just a demonstration of the program’s capabilities. It is also worth noting that there are special programs for creating round pictures (not necessarily stamps/seals, but the principle is similar) - they are much more convenient to use (for example, there is a program for printing on CD/DVD discs). Again, in the 1C program there is the application of stamps on documents.

You only need to scan the seal and signature once in natural size and save the image in PNG format.

What is PDF to JPG and what can I do with it?

PDF To JPG is a windows application that quickly converts PDF documents into image formats like JPG, TIF, BMP, PNG and GIF. Users can adjust DPI and Page Range in a conversion setting. Additionally, PDF To JPG supports batch mode, which converts hundreds of PDF documents into images at once.

What are the system requirements for PDF To JPG?

Microsoft Windows 7, Windows Vista, Windows XP, Windows 2003, Windows 2000 or Windows ME. Processor Pentium III or better, Pentium 4 or higher. 512 MB RAM or more, 1 GB RAM recommended. 200MB hard disk space for installation.

What's DPI?

DPI (dots per inch) is a measure of spatial print or video dot density, specifically the number of individual dots that can be placed on a single line within a space of 1 inch (2.54 cm). DPI values ​​tend to correlate with image resolution, but are only indirectly related. (Quoted from Wikipedia.com)

You can change the DPI settings to get best result PDF image resolution For JPG.

How many PDF formats does it support JPG?

There are 5 image formats in PDF For JPG supports: JPG, TIF, BMP, GIF, PNG.

What's PDF?

PDF (Portable Document Format) is an open document standard created in 1993. Adobe PDF is the most popular document exchange format in the world, and it can be read and opened by all operating systems. As the most convenient document format, it contains text, tables, images and links in one PDF file.

We have produced PDF to JPG to help users convert PDF documents with images, then they can reuse the content or OCR text information.

Quite often the question comes up about how to insert a seal and signature into a pdf. To solve this problem, you can use a special tool called “Stamp”, which is available in Adobe Acrobat. The seal in this case will be applied to the PDF document without any additional manipulations in an instant.

It should be noted that the image in the form of a seal or signature can be created independently or selected from a list of predefined ones. In general, imposing a seal on a PDF document is not that complex process as it seems at first glance. In addition, it is possible to create a dynamic stamp that will receive all the necessary information from personal computer and the Personal Information panel, which is located in the dialog box called Preferences. This gives the user an excellent opportunity to indicate not only the name of the seal, but also its date and time of affixing. The tool itself is typically displayed in a panel called Annotation.

  • To solve the problem of how to insert a stamp into a pdf, you should open “Comments” and go to “Annotations”.
  • Click on “Stamps” and among the list of items shown, click on “Show palette...”.
  • To insert the desired option into a PDF document, you should click on the tool of the same name, and in the palette that opens, select a specific category, and then the stamp itself.
  • Click on the document page where you want to place the image as a stamp. You can also drag the rectangular area with the mouse pointer to determine where the future stamp will be placed and what size it will be.
  • If you did not specify a specific name in the personal information settings, then you will see a dialog box with personal information settings, where you should enter any name that interests you.

If you want to change the appearance and location of the image, then to do this you need to do one of the following using a tool called “Hand” or “Selection”:

  • To move a stamp you have placed, simply use one of the above tools and drag it to a new location.
  • To delete a newly added image as a seal, right-click on it and click on “Delete”.
  • To resize a stamp, click on it, then drag the handle that appears on the corner.
  • To change the color of the note that pops up near the stamp or its opacity value, right-click on it and then select “Properties.” Go to the " Appearance" and set the required values.

If you like one of the stamps and decide to add it to your favorites list, start by selecting the stamp's mark using Hand/Select. After that, click on the “Stamp” tool in the “Annotations” panel and click on the item that implies adding the current stamp to the list of favorites.

How to create a stamp?

If there is no suitable stamp in the form of a seal among the files loaded into the Adobe Acrobat program, then you can create it yourself. To do this, you only need to insert it. In addition, the inserted stamp will have all the same characteristics that other stamps have.

First, find a suitable stamp on one of the electronic documents, then solve the problem of how to cut it out - use any graphic editor for this. Or you can download any suitable seals for free from thematic web resources. If the print file is already ready, then follow these steps:

  • Open the “Annotations” panel, then go to “Stamps” and click on the item that opens the palette with stamps.
  • Click on “Import”, and then select “File”.
  • Next, you just have to select from the menu or enter your own category, giving the added seal a name. After this, click on “Ok”.

Insert a seal and signature using a special program

In addition to everything described above, it should be added that to add a seal to a file in PDF format, you can download and install software PDFSign. In this case, all you have to do is open the desired file, click on the add seal/signature button and place it in the desired location. Thus, printing using such software is added in a few clicks. The advantages of this program include quick signing of documents, the ability to save in PDF format, print a document from the software itself, and work with any images where there is a scaling option.

Applying a seal and signature using a virtual printer

Another simple way to stamp a document and save it in PDF format is.

So, let's say you have a contract typed in Word that needs to be signed, converted to PDF and sent by email.

  • We scan the document from which we will cut out the area with the signature in a graphic editor
  • We insert the cut out image into our contract and adjust its size
  • Click print document and select a virtual printer as the printer, which must be pre-installed
  • Select a disk space to save the PDF agreement

Elba users had a dream - to insert images of seals and signatures into bills, acts, invoices and other serious documents. Why not please the dreamers, we thought. Looking around, we realized that usually in such cases all the dirty work is dumped on the user (well, you know: “the picture should be 300 by 400 pixels, with high contrast, good resolution and a perfectly white background”). But judging by the experience of our team, which visits the call center, even a simple upload of an image from a camera plunges users into deep depression, and they have to be rescued in ungodly ways, a la “paste the picture into Word.” Of course, there is no question of forcing users to clean stamps in Photoshop - let them take pictures as best they can, and Elba will do the rest for them!

If you're interested in learning what you need to do with a photo taken with a phone or point-and-shoot camera to get a clear stamp and signature with a transparent background, read on.

In fact, we have created not one, but three ways to process seals and signatures. This is not because of a good life - some images are better cleaned in one way, some in another. We use all three in parallel, and then let the user choose:

Method one: scientific approach

Any picture can be considered as a collection of dots, each of which has a specific color. Based on this, our task looks very simple - take only those points that are part of the seal or signature.

The idea looks like this: in some way we turn the original image into black and white image(background - black, print - white), then the set of all white dots (mask) is intersected with the original image. We consider those parts of the original image that coincide in coordinates with the white dots to be a seal. In more detail:

This is what happens if you apply this as a mask to the original print:

We threw out everything that is far enough from the image elements, and this, of course, is a success. But we did not remove the background details close to the print. This happened because the color of the background near the image was not sufficiently different from the picture itself (the photo was of low quality, unevenly lit, etc.) and during our coarsening these areas were not classified as background. A very simple step immediately suggests itself - let’s maximize the difference between the print and the background areas near the print. This is very simple to do: increase the contrast. To do this, let’s run the original photo through smoothing and HistogramEqualization:

As a result, the background far from the print became the same color as the print, but we don’t care anymore, we’ve learned to discard this and work only with areas of the background close to the picture. Then it’s a matter of technology, there won’t be any new ideas: into grey, invert, coarse.

So, we know how to clean out everything except the debris around the print, and we have already seen what the result will be. We have just learned how to clean up debris around the print well, now we will apply what we got to our first result:

Not bad already. It is clear that you need to blur it a little, raise the contrast, make the background transparent, etc.

True, we discovered a problem with high-resolution photographs (the race for camera megapixels, alas, did not spare phone owners either) - wide (10, and sometimes 100 pixels) print lines began to break up as a result of searching for edges into two separate strokes.

To eliminate such minor troubles, you can use closing. In our case, closure will result in all areas of the background between paired strokes being blurred, but only if the distance between the strokes is not too large. Here is an example of how a closure works from the documentation for the AForge.Closing filter:

It can be seen that the closure cannot cover up cavities larger than a few pixels in a row. And the size of the cavity depends on the resolution with which the print was photographed.

It would seem - well, let’s bring the resolution in line with what we need (we’ll stupidly establish the specific value experimentally). However, the problem is that people can (and love) photographing a seal with huge white margins.

After compressing the image to the “optimal size”, we will end up with a tiny stamp in the corner of the photo.

In the end, we decided not to bother and run the algorithm 2 times. The first time we will remove large debris (and possibly small parts of the seal), and also understand where the seal is in the picture. After this, we take the original picture again, cut out the now known place with the seal, scale it to the right size and again we run the background cleaning algorithm.


It seemed that the goal had been achieved, but when we started taking examples of seals and signatures from the Internet, we were faced with new problem. While for most prints our algorithm worked quite well, with signatures everything was much worse: the contrast level of photographs was sometimes such that the search for edges simply lost half of the lines, and lowering the search bar is also dangerous - we risk getting a bunch of “garbage” in addition.

Method Two: The Great Invention of the Bicycle

We decided, why do we need these searches for edges and other bells and whistles? After all, a signature is a very simple thing: a few lines drawn with a dark pen on light paper.

At first glance, separating the dark from the light is not a great science. To begin with, the algorithm, codenamed “those who are not with us are against us,” looked very simple: we sort through all the points in a row whose brightness is higher than that of gray, write them into the “background” and destroy them. We leave everything that is darker, because it is a “handle”.

We chased it away at the first signature we came across - hurray, cool processing!

We drove to the second - a complete failure.

The first thought - to write on the upload form “take a more contrasting photo, guys” and kill it - for some reason the interface designers did not approve. I had to turn on my brain. We figured that since it works on some photos and not on others, we just need to normalize the photos a little ourselves. We took a photo, went through all the points, built a simple histogram: simply, for each of the 256 possible brightnesses, we counted the number of points of this same brightness. We found the minimum brightness, then the maximum, chose a point “somewhere in the middle” and cut out the background.

Hurray, we said and began to joyfully look for examples of trash signatures. Well, to find as much evidence as possible of how great we are. Life, as always, turned out to be more interesting: literally in the second photo, a hard fail awaited us again! No matter how we chose that very point “somewhere in the middle,” either the background remained in the corner, or part of the signature disappeared.

Looking doomedly at the result, they opened the original and began to think.

In general, there was no puzzle, the light was just set so that the background on one edge of the photo was darker than the pen on the other (as it turned out later - this is real life happens quite often). Obviously, in this situation the desired point simply does not exist.

When they heard the word “local,” they suddenly perked up and decided: since it is impossible to select a point of the form “the handle is darker, the background is lighter” for the entire image, then let’s try to do this on part of the image!

We divided it into rectangles (a 10x10 grid suited us experimentally) and applied the algorithm to each cell separately. Everything would be fine, but some of the cells turned out to be filled exclusively with the background. It’s already simpler here - since there is nothing except the background, it means that the local contrast is extremely low. This means that the brightest point and the darkest point in the histogram are very close.

It seems to have worked out.

We take a separate cell, build a histogram based on it, look at the left edge (minimum brightness) and the right edge (maximum brightness). Then we take the delta, which is the contrast. If the contrast is less than a certain value (at a minimum, calculated based on the overall contrast of the picture), then we consider the entire cell to be the background and throw out the excess. If the contrast is greater, we determine the “division” point and cut off everything that is brighter.

Method three, final

We didn’t think two options were enough, so we decided to add a third - a simple processing of “almost perfect” photos in which the entire background is white (well, or almost white). To do this, we knocked out all pixels lighter than 95% of the maximum brightness and cut off the fields.
As a result, as we said at the beginning, the user chooses one of three options. If none of the options fit (which happens extremely rarely), we show