Paint Shop Pro Plugin SDK?

Corel Paint Shop Pro

Moderator: Kathy_9

Post Reply
ppedriana
Posts: 4
Joined: Thu Feb 04, 2021 9:13 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Intel Core i9-9880H
ram: 16GB
Hard_Drive_Capacity: 1TB
Corel programs: Paint Shop Pro 2020

Paint Shop Pro Plugin SDK?

Post by ppedriana »

Is there a way to make my own plugins for Paint Shop Pro? Like an SDK? I ask because there's a plugin that I want which is straightforward but doesn't appear to exist already. I have C/C++ and other language experience and so programming is not an issue for me. Thanks.
LeviFiction
Advisor
Posts: 6831
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Alienware M17xR4
processor: Intel Core i7-3630QM CPU - 2_40GH
ram: 6 GB
Video Card: NVIDIA GeForce GTX 660M
sound_card: Sound Blaster Recon3Di
Hard_Drive_Capacity: 500GB
Corel programs: PSP: 8-2023
Location: USA

Re: Paint Shop Pro Plugin SDK?

Post by LeviFiction »

PSP uses Photoshop Plugins. So make a Photoshop Plugin.

https://www.adobe.com/devnet/photoshop/sdk.html

I don't know if the latest SDK will work with PSP or not. I can read C++ but I have never successfully compiled another person's project before. So I've never tested making a plugin.

What are you hoping to make? I wonder if PSP Scripts would be sufficient for the task.
https://levifiction.wordpress.com/
ppedriana
Posts: 4
Joined: Thu Feb 04, 2021 9:13 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Intel Core i9-9880H
ram: 16GB
Hard_Drive_Capacity: 1TB
Corel programs: Paint Shop Pro 2020

Re: Paint Shop Pro Plugin SDK?

Post by ppedriana »

The plugin that I want to make is a color filter, such as colored sunglasses, with a simple example being "blue blocker" sunglasses. As far as I know, PSP and Photoshop have a bunch of features and plugins to color images in hard-coded ways, but there is no feature or plugin to let me take an image and specify that I want to filter out this amount of blue and that amount of yellow. This is what sunglasses like Oakley "Prizm" sunglasses do in order to make what you see a little sharper.
LeviFiction
Advisor
Posts: 6831
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Alienware M17xR4
processor: Intel Core i7-3630QM CPU - 2_40GH
ram: 6 GB
Video Card: NVIDIA GeForce GTX 660M
sound_card: Sound Blaster Recon3Di
Hard_Drive_Capacity: 500GB
Corel programs: PSP: 8-2023
Location: USA

Re: Paint Shop Pro Plugin SDK?

Post by LeviFiction »

I believe you're correct. There are commands that can get close but nothing that's truly exact.

Without seeing it in action I wouldn't be able to say for sure. But you can probably get close In Photoshop with Color Balance and in PSP you have two choices White Balance Adjustment Layer or the Unused Command "Adjust White Balance" previously named "Adjust Color Balance" it's almost identical to Photoshop's Color Balance command.

I grabbed the first image from this article - https://www.ocushield.com/blogs/bluelig ... ht-filters
test-physical-blue-light-filters.jpg
I selected the top row, and used the White Balance Adjustment layer, setting the Blue/Yellow Mix completely to the left (Yellow) for Shadows and Midtones. You can see the result is probably close to identical. I did have to uncheck "preserve Luminance" though.
colorbarresult.jpg
The second test they give for software Blue light removal doesn't work with Color balance at all. I was, however, able to get close to the simulation of it by using HSL to taget the blues and darken them. Sadly this isn't helpful as the example isn't just darkening the blues but filtering them out. There is technically Film and Filters under Effects -> Photo -> Film and Filters. You select an orange or yellow color as the filter and adjust the strength, but I don't think that does what you want.
https://levifiction.wordpress.com/
ppedriana
Posts: 4
Joined: Thu Feb 04, 2021 9:13 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Intel Core i9-9880H
ram: 16GB
Hard_Drive_Capacity: 1TB
Corel programs: Paint Shop Pro 2020

Re: Paint Shop Pro Plugin SDK?

Post by ppedriana »

Thanks. A friend of mine suggested the reason why a generic filtering feature or plugin doesn't exist is that it's a technical feature whereas the existing color manipulation features are artistic features. Perhaps so.
Andy2011
Posts: 115
Joined: Sun Sep 22, 2019 4:26 pm
operating_system: Windows 11
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte A520M S2H
processor: AMD Ryzen 5 PRO 4650G 6 Core CPU
ram: 16 GB
Video Card: Integrated Radeon Vega GPU
sound_card: on board
Hard_Drive_Capacity: 2500 GB
Monitor/Display Make & Model: BENQ GW2760HS + Benq T905 as second monitor
Corel programs: Aftershot Pro 3, Paint Shop Pro 2020
Location: UK

Re: Paint Shop Pro Plugin SDK?

Post by Andy2011 »

Just an idea which could work for blue: split the image into RGB channels, on the blue channel image apply an adjustment layer of Brightness/Contrast and reduce the brightness by say -50; then recombine the channels into a new image. (Command: Image/split channels/RGB etc.)
It may be possible to apply other colours by filtering two of the primary colour channels (Red/Green -> yellow?). Some maths and experimentation required!
Knowledge is recognising that a tomato is a fruit: experience is not putting it in a fruit salad.
Post Reply