How to select among jpg and png format files stored in PostgreSQL and quickly create PDF files in Django [closed]

Frontend – Vue backend – Django database – PostgreSQL

1 Many images are stored in the database as jpg or png, and images that require that name are used on the front page.
2 Afterwards, create each image by arranging it in a sheet form according to the selected image. This is a two-column worksheet.

I’m currently using Django’s PDF API to generate a PDF. The production speed has slowed down,
Do you like being able to create 40 pages of images in 3 seconds?

enter image description here
The photo above is an example worksheet.

  • “Django’s PDF API” Django doesn’t have any builtin tools for PDF’s so we have no way to know what you are talking about. Also your question doesn’t really help us understand the actual problem. Please visit the help center, read How to Ask and related articles. For example a minimal reproducible example that demonstrates your problem should be quite useful for your question.

    – 

Leave a Comment