Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<title>Broken CSS Filters Referencing SVG</title>
<style>
body {
display: grid;
grid-template-columns: max-content 25vh;
grid-template-rows: 2em 25vh 25vh 25vh;
align-items: center;
@amw
amw / pillow-vs-vips.py
Last active September 19, 2023 10:48
Performance comparison of image resizing methods in Pillow and PyVIPS
#!/usr/bin/env python
# Script for comparing Pillow vs PyVIPS used for this issue:
# https://github.com/libvips/pyvips/issues/148
import sys
import timeit
import pyvips