• Skip to primary navigation
  • Skip to content
  • Skip to footer
Paul's Blog
  • Posts
  • Collections
  • Categories
  • Tags
  • Rust Resources
  • C++ Resources
  • About
    Paul

    Paul

    Me hacking away at things.

    • GitHub

    python image library

    June 19, 2016 less than 1 minute read

    for editing pictures with python

    from PIL import Image
    im = Image.open("foo.png")
    pix = im.load()
    pix[x,y] = value
    im.show()
    im.save("new.jpg")
    

    source: http://effbot.org/imagingbook/image.htm

     

    Tags: library, picture

    Categories: python

    Updated: June 19, 2016

    Previous Next

    You May Also Enjoy

    Fixing NixOS rebuild warning: The jq Pretty-Printing Trap

    June 13, 2026 1 minute read

    nixos-rebuild switch started printing warnings about UID changes it refused to apply: warning: not applying UID change of user 'gdm-greeter-2' (60580 -> 6...

    Disabling the Startup Sound on a 2011 iMac (iMac12,2) running Arch Linux

    June 11, 2026 1 minute read

    Lets disable the startup sound on an 2011 iMac running arch linux: 2011 27-inch iMac (iMac12,2).

    Taming the hazard - Part 2 - From prototype to libstdc++

    June 8, 2026 4 minute read

    Previous post in this series: Part 1 - Introduction.

    Upgrading to NixOS 26.05: A Rocky Road

    May 31, 2026 8 minute read

    NixOS 26.05 dropped yesterday. I upgraded — it did not go smoothly. Here’s what broke and how I fixed it.

    • Feed
    © 2026 Paul's Blog. Powered by Jekyll & Minimal Mistakes.