Generating a PDF File with Images on Make

FillFaster Support

Last Update 4 bulan yang lalu

FillFaster's integration with Make lets you seamlessly create PDF files containing images. This feature simplifies the process of combining visual content into professional-looking PDF documents.

Here's a quick guide on how to generate a PDF file with images using FillFaster's app on Make.

  1. Access FillFaster’s App
  2. Create or Select a PDF Template
    • If you already have a PDF template, select it. Otherwise, create a new one.
    • Ensure that the template includes placeholders for images (e.g. image fields).
  3. Prepare Your Image
    • Convert your image to a base64 string. The format should be:
      data:image/[IMAGE FORMAT];base64,[BASE64 OF THE IMAGE]
    • For example:
4. Generate the PDF
    • Use FillFaster’s module to generate the PDF.
    • The image will appear in the specified location on the PDF template.

Remember that image fields support formats like PNG and JPEG.

* If you have the image in Make's data (buffer) format, you can use the built-in string function base64 to convert it inline, as shown in the following image:

data:image/png;base64,base64(data)

Was this article helpful?

0 out of 0 liked this article

Still need help? Message Us