Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FPDF question
I have been running various tests and searches since my post.

The standard output (save) for matplotlib is .png.
What i did not know is that when Pillow is installed, you can also use .jpg. (Without doing any extra import at all)
I happen to have Pillow, so i did the test with exactly the same code, just with the extension changed.

Instantaneous ! Like it was before.
So my conclusion must be that in this case (FPDF) jpgs are much much faster.

Worth examining if this can be generalised to other types of apps with matplotlib involved.
Gribouillis likes this post

Messages In This Thread
FPDF question - by DPaul - Oct-27-2020, 07:43 AM
RE: FPDF question - by Gribouillis - Oct-27-2020, 08:05 AM
RE: FPDF question - by DPaul - Oct-27-2020, 08:26 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  fpdf orientation not working properly KatMac 1 288 May-02-2021, 10:47 AM
Last Post: Pedroski55
  fpdf star character issue KatMac 3 318 May-01-2021, 06:22 PM
Last Post: KatMac
  fpdf adding a new font to my report KatMac 0 212 Apr-23-2021, 02:19 PM
Last Post: KatMac
  ModuleNotFoundError: No module named 'fpdf' KatMac 4 693 Apr-19-2021, 01:23 PM
Last Post: KatMac
  Installing FPDF Batman 3 4,078 Jun-04-2019, 04:58 AM
Last Post: heiner55

Forum Jump:

User Panel Messages

Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020