ScratchData LogoScratchData
Back to sureornot's profile

Image to Pencil Sketch

SUsureornot•Created August 29, 2022
Image to Pencil Sketch
41
30
242 views
View on Scratch

Instructions

Converting Image into A Pencil Sketch in Scratch step by step: 1. Grayscale the image 2. Invert it 3. Blur the inverted image 4. Dodge blend the blurred and grayscale image. Final result = gray scale * 255 / (255-inverted image blur) if inverted image blur = 255, set final result = 255. if final result > 255, set final result = 255. For algorithm and concept behind, please refer to the project reference below.

Description

Project Reference: https://www.freecodecamp.org/news/sketchify-turn-any-image-into-a-pencil-sketch-with-10-lines-of-code-cf67fa4f68ce/ Image scanning: https://scratch-image-scanner.slmj.re​pl.co/ from project by MonkeyBean2 : https://scratch.mit.edu/projects/631798903/ Thank you MonkeyBean2.

Project Details

Project ID725928175
CreatedAugust 29, 2022
Last ModifiedFebruary 13, 2023
SharedAugust 30, 2022
Visibilityvisible
CommentsAllowed