NEW! PaintShop Pro 2019

Script - Colorized Pencil Sketch Using Original Image Colors

Moderator: Kathy_9

Script - Colorized Pencil Sketch Using Original Image Colors

Postby JoeB » Thu Aug 11, 2016 4:49 pm

A poster in the PSP forum (@fayt) asked how to do a colorized pencil sketch from a color photo similar to one shown in a PS tutorial. Here's the link to that thread:

viewtopic.php?f=56&t=60048

LeviFiction posted the steps that could produce the same effect in PSP. As I then posted that perhaps a script could be used to do it faster and more efficienly, I decided to do the script and try it out. Using in on several different images produced interesting results so I'm posting the script in case others like the effect. The attached script is the result.

There are two steps in LeviFiction's list where the user can lower the opacity of a pasted layer - Step 8, to make the sketch lines of the black and white layer less dark, and Step 10 (the last step) to lighten the final color. The script must pause in Step 8 for the user input and I have incorporated Gary Barton's Pause script to allow this. A message box opens at this stage with those instructions, and also telling the user that, when satisfied, to run the script again to continue. Another box at the end give the info for lightening color. Both of those boxes can be edited out of the script if you don't want them to appear.

NOTE: Run the script in Silent mode or you'll also get the dialogue box for changing the setting of the Gaussian Blur step. If you want to experiment with changing that setting then run it in Interactive mode.

Examples of how the results on @fayt's image and a different one I used it on with different opacity settings can be seen at the above link.
Attachments
Colorized Pencil Sketch.zip
Colorized Pencil Sketch using original image colors
(2.79 KiB) Downloaded 148 times
Regards,

JoeB
Using PSP 2019 64bit
JoeB
 
Posts: 2369
Joined: Fri Mar 28, 2008 10:04 pm
Location: Canada
operating_system: Windows 8.1
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: LENOVO 4524PE4 ThinkCentre M91p
processor: 3.10 gigahertz Intel Quad Core i5-2400
ram: 8 GB
Hard_Drive_Capacity: 4.6 TB
Corel programs: PSP 9, X7 to 2019, 32 & 64-bit

Re: Script - Colorized Pencil Sketch Using Original Image Co

Postby Kathy_9 » Fri Feb 17, 2017 2:34 pm

Nice job Joe. Thanks for creating and posting.


Last bumped by Kathy_9 on Fri Feb 17, 2017 2:34 pm.
PSP2019 version 21.1.0.22 & PhotoMirage installed; PSPX thru PSP2018 owned but not installed

http://www.flickr.com/photos/37153430@N03/
Kathy_9
Moderator
 
Posts: 2154
Joined: Tue Nov 30, 2010 12:44 am
Location: USA
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
processor: 8th Gen. Intel Core i7+ 8700 3.20 GHz
ram: 16GB
Video Card: NVIDIA GeForce RTX 2060 [6 GB GDDR6 dedicated]
sound_card: NVIDIA High Definition Audio
Hard_Drive_Capacity: 2TB
Monitor/Display Make & Model: HP EliteDisplay E243m 23.8-inch
Corel programs: PSPX4 ~2019; DrawX5; Painter 2018-19


Return to PSP Scripting

Who is online

Users browsing this forum: No registered users and 1 guest