Python + Generative Art = Creative Coding!
Who said Python is only for data science and automation?
With just a few lines of Python, you can create generative artwork and turn it into a PDF.
This example uses PyMuPDF (fitz) + random to:
Generate 100 random circles
Create a unique visual pattern
Draw everything directly into a PDF
Add custom Python-themed text
Save the final artwork as a PDF
The best part? Every run can create a different design because the positions and sizes are randomized.
Python isn't just about solving problems —
it's also a tool for creativity.
https://t.co/McUOuEcUzH
Convert PDF → Flipbook GIF using Python! ➡️
Turn your PDF pages into an animated flipbook GIF with just a few lines of Python!
✨ What you’ll learn:
✅ Convert PDF pages into images
✅ Use PyMuPDF (fitz) for PDF processing
✅ Create animated GIFs with Pillow
✅ Automate document visualization using Python
Perfect for developers, educators, and content creators!
https://t.co/MAhVsFdU9V
New n8n template: a cited research brief on your topics, every Monday at 7am, as a PDF in your inbox.
Brave searches → Firecrawl reads → Claude writes → https://t.co/fdlkZpJIsv renders → Gmail + Drive.
(Test it out first with Gateway credits - No API key set up!)
https://t.co/65MooGyN0D
@n8n_io@AnthropicAI@OpenAI@GeminiApp Glad to be one of the providers in this launch! https://t.co/wXE6qfnrBN generates PDFs from HTML — and splits, merges, fills forms, compresses and password-protects them. It's the step that turns an agent's output into something polished you can send a client.
After trying my usual methods with disappointing results, I decided to give Ghostscript a proper shot. What happened next absolutely blew my mind: it reduced a 16MB PDF to just 866KB without any noticeable loss in quality.
https://t.co/vEurR8LtRr
Here is a handy and useful Linux and Unix shell script that reduce PDF file size using Ghostscript. No need to upload your PDF file to the shady third-party website.
https://t.co/2QX1AesBoY
New on the PyMuPDF blog: we pulled together 13 public OCR and document-parsing leaderboards and asked one question. When the org behind a benchmark enters its own model, where does it finish?
10 benchmarks had an identifiable in-house entry, and all 10 landed in the top three. 7 placed first.
A simple wrapper around Ghostscript to shrink PDFs (as in reduce filesize) under Linux. Inspired by some code I found in an OpenOffice Python script (I think). The script feeds a PDF through Ghostscript.
https://t.co/kNELg140qH
Brotli compression is coming to PDF! That means smaller PDFs at the same quality. An example from our testing - the PDF 1.7 reference manual, 1,310 pages and 30.95MB, comes down to just over 13MB. Read more: https://t.co/7NMaZDHZRc