Skip to content
Snippets Groups Projects
  1. Apr 24, 2024
  2. Oct 24, 2023
  3. Aug 07, 2023
    • Karl Fogel's avatar
      Handle Pillow's drop of the getsize() method · 913d3be5
      Karl Fogel authored
      Without this, if you were using a recent enough version of the Pillow
      library then you'd get an error that looks something like this:
      
        AttributeError: 'FreeTypeFont' object has no attribute 'getsize'
      913d3be5
  4. Apr 12, 2022
  5. Mar 30, 2022
  6. Jan 19, 2021
    • Karl Fogel's avatar
      Use a callback to print the delay notification · e69a935b
      Karl Fogel authored
      This brings the program into full compliance with the principle that
      the print statements to stdout or stderr should only happen in main().
      The rest of the code now behaves like a library: it raises exceptions
      to indicate errors and calls callbacks to indicate status checkpoints.
      
      And, although you'd only know it from scrutinizing the diff carefully,
      this change also fixes a Boolean grouping error in the conditional in
      apply_meme() that governs the printing of the delay notification.
      e69a935b
    • Karl Fogel's avatar
      Make color handling degrade more gracefully · aa217939
      Karl Fogel authored
      aa217939
    • Karl Fogel's avatar
      Improve text on sample-image-1 · 4f85ef82
      Karl Fogel authored
      4f85ef82
  7. Jan 13, 2021
  8. Dec 22, 2020
  9. Dec 08, 2020
Loading