Python PIL — Apply sketch effect

Python script that will apply a sketch effect to an existing image, we achieve this using the Python PIL library. We start by opening the image and then converting it to grayscale. Using the ‘ImageFilter’ module we then apply a contour effect to our image.

Support us by subscribing to our YouTube channel for daily coding content.

https://scriptopia.co.uk/2023/01/16/python-pil-apply-sketch-effect/

--

--

Programming - Projects - Source Code available for everything - Scriptopia.co.uk

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store