Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

<PIL.PngImagePlugin.PngImageFile image mode=RGB size=37x54 at 0x7FF066939320>

ImageChops.offset

Shift to the left with 10 pixels.

<PIL.Image.Image image mode=RGB size=37x54 at 0x7F28611CB518>

Image.crop and ImageOps.pad

<PIL.Image.Image image mode=RGB size=27x54 at 0x7F28611FC6D8>
<PIL.Image.Image image mode=RGB size=37x54 at 0x7F28611D7160>
<PIL.Image.Image image mode=RGB size=37x54 at 0x7FF066818AC8>

Image.crop and ImageOps.fit

<PIL.Image.Image image mode=RGB size=37x54 at 0x7FF0668181D0>