Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

1.1K
Views
PDFMake: Uncaught (in promise): Invalid image: Error: Unknown image format

I am getting the error when generating the PDF with base64 images using pdfmake in angular. In the content array sent to pdfmake. I see that the base64 images are converted into a format "$$pdfmake$${number} " and the other base64 images are still as base64. Not sure why the images are not rendered and why I am getting the error. The same code is working for low number of images, but when I give more number of images for the pdf it is throwing the error.

Error:

Uncaught (in promise): Invalid image: Error: Unknown image format. Images dictionary should contain dataURL entries (or local file paths in node.js)

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!