Need script that can do rounded corners on images.
Moderator: Kathy_9
Need script that can do rounded corners on images.
have PSPX9 win10 64bit
I'm looking for an script that can do rounded corners on images. With control over the curve size on the corners.
Can anyone help...Pleeese!
PS my query a few days ago about a drop shadow on an image I found one in the papx9 "select script" drop down.(If anyone is looking for one)
The script allows you to change the shadow colors etc.
I'm looking for an script that can do rounded corners on images. With control over the curve size on the corners.
Can anyone help...Pleeese!
PS my query a few days ago about a drop shadow on an image I found one in the papx9 "select script" drop down.(If anyone is looking for one)
The script allows you to change the shadow colors etc.
-
Kathy_9
- Site Admin
- Posts: 2896
- Joined: Tue Nov 30, 2010 12:44 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- processor: 8th Generation 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: PSPX2 ~2023; Painter 2018~23
- Location: USA
- Contact:
Re: Need script that can do rounded corners on images.
Joe B. kindly provided this script. http://forum.corel.com/EN/viewtopic.php ... 00#p318600
PSPX9 | PSP2020 | PSP2021| PSP2022 | PSP2023 & PhotoMirage installed; PSPX | PSPX2 thru PSP2019 owned but not installed
http://www.flickr.com/photos/37153430@N03/
http://www.flickr.com/photos/37153430@N03/
-
LeviFiction
- Advisor
- Posts: 6831
- Joined: Thu Oct 02, 2008 1:07 pm
- 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: Need script that can do rounded corners on images.
Kathy_9, Joe's Script squares a selection rectangle with rounded corners, it doesn't apply rounded corners to an image. So it is the opposite of what is being asked for. xD
I don't know of a script that does this off the top of my head. How exactly do you want to control the curve size of the corners? Just a selection "small", "Medium", "Large"? Or more granular control?
I don't know of a script that does this off the top of my head. How exactly do you want to control the curve size of the corners? Just a selection "small", "Medium", "Large"? Or more granular control?
https://levifiction.wordpress.com/
-
Kathy_9
- Site Admin
- Posts: 2896
- Joined: Tue Nov 30, 2010 12:44 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- processor: 8th Generation 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: PSPX2 ~2023; Painter 2018~23
- Location: USA
- Contact:
Re: Need script that can do rounded corners on images.
Okay, I should have given an explanation along with a link to the script.
First promote the background layer so you are working on a raster layer then make a selection on the image and run the script. The script will pause and allow you to adjust the number of pixels to get the right amount of roundness in the corners. Next go to Selections -> Invert and hit the delete key.
Another method would be to look for a mask with rounded corners and use that.
First promote the background layer so you are working on a raster layer then make a selection on the image and run the script. The script will pause and allow you to adjust the number of pixels to get the right amount of roundness in the corners. Next go to Selections -> Invert and hit the delete key.
Another method would be to look for a mask with rounded corners and use that.
PSPX9 | PSP2020 | PSP2021| PSP2022 | PSP2023 & PhotoMirage installed; PSPX | PSPX2 thru PSP2019 owned but not installed
http://www.flickr.com/photos/37153430@N03/
http://www.flickr.com/photos/37153430@N03/
-
Cassel
- Posts: 1587
- Joined: Fri Oct 29, 2010 6:49 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- ram: 16Gb
- Corel programs: PSP 8 (JASC) to PSP 2023
- Location: Canada
- Contact:
Re: Need script that can do rounded corners on images.
There is an old script that can do that:
http://creationcassel.com/store/index.p ... ucts_id=97
http://creationcassel.com/store/index.p ... ucts_id=97
Cassel
https://creationcassel.com/store
Specializing in PSP specific products: scripts and tubes
https://scrapbookcampus.com
for beginner and seasoned scrappers and designers and other PSP users
https://creationcassel.com/store
Specializing in PSP specific products: scripts and tubes
https://scrapbookcampus.com
for beginner and seasoned scrappers and designers and other PSP users
-
JoeB
- Posts: 2778
- Joined: Fri Mar 28, 2008 10:04 pm
- 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
- Location: Canada
Re: Need script that can do rounded corners on images.
As far as I know, you need to use a vector rectangle shape to be able to adjust the size of the corner curvature. I'm assuming you want to create a curved rectangle to copy part of an image as a new image with rounded corners. One way to do this is a lot faster than it sounds in this description.
First, create a vector layer above your image, and set the opacity of that layer to about 50% Then select the Rectangle from the Preset Shapes tool flyout menu. On the Tool Options bar select a vertical and horizontal radius (make them both the same). This number will set the curvature of the corners of the rectangle you're going to draw. The larger your image in pixels the higher number you'll need to get a noticeable curve. It helps to set your Material palette background color to white, which will fill your rectangle with a semi-transparent white so that you can see what you're doing under the rectangle.
Then draw your rectangle and you'll have a somewhat rounded rectangle with semi-transparent white fill.
Now choose the Pen tool. This will put a border with nodes around the rectangle, allowing you to edit it. You can change the curvature by moving the two little nodes that are at the edges of the upper left curve - pull the one on the top horizontal to the right and the one on the left vertical down until you get a symmetrical curve you like (or move them left and up respectively if the curve is already larger than you want). The other three corners will follow whatever you did to the top left corner. You can also use the nodes in the middle of the lines to adjust the size of the rectangle, and move the rectangle around by pointing at the center node until the cursor turns into a Mover icon.
When satisfied with your rectangle, grab the Magic Wand tool, set to RGB mode, 10%, contiguous, anti-alias Outside checked, and click inside the white area. This will provide you with a selection. Highlight the image layer (not the vector layer) in the Layers Palette and you can do Copy, then Paste as New Image and you'll have your rounded selection as a new image.
This could be scripted with a little effort.
First, create a vector layer above your image, and set the opacity of that layer to about 50% Then select the Rectangle from the Preset Shapes tool flyout menu. On the Tool Options bar select a vertical and horizontal radius (make them both the same). This number will set the curvature of the corners of the rectangle you're going to draw. The larger your image in pixels the higher number you'll need to get a noticeable curve. It helps to set your Material palette background color to white, which will fill your rectangle with a semi-transparent white so that you can see what you're doing under the rectangle.
Then draw your rectangle and you'll have a somewhat rounded rectangle with semi-transparent white fill.
Now choose the Pen tool. This will put a border with nodes around the rectangle, allowing you to edit it. You can change the curvature by moving the two little nodes that are at the edges of the upper left curve - pull the one on the top horizontal to the right and the one on the left vertical down until you get a symmetrical curve you like (or move them left and up respectively if the curve is already larger than you want). The other three corners will follow whatever you did to the top left corner. You can also use the nodes in the middle of the lines to adjust the size of the rectangle, and move the rectangle around by pointing at the center node until the cursor turns into a Mover icon.
When satisfied with your rectangle, grab the Magic Wand tool, set to RGB mode, 10%, contiguous, anti-alias Outside checked, and click inside the white area. This will provide you with a selection. Highlight the image layer (not the vector layer) in the Layers Palette and you can do Copy, then Paste as New Image and you'll have your rounded selection as a new image.
This could be scripted with a little effort.
Regards,
JoeB
Using PSP 2019 64bit
JoeB
Using PSP 2019 64bit
Re: Need script that can do rounded corners on images.
Thanks Guys for all the help and advice. I picked up a good script from
Cassel
http://creationcassel.com/store
Specializing in PSP specific products: scripts and tubes
Paid $4.99 for it but worth it saves me all the hassle of using masks etc. one click and its done.

Cassel
http://creationcassel.com/store
Specializing in PSP specific products: scripts and tubes
Paid $4.99 for it but worth it saves me all the hassle of using masks etc. one click and its done.
-
JoeB
- Posts: 2778
- Joined: Fri Mar 28, 2008 10:04 pm
- 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
- Location: Canada
Re: Need script that can do rounded corners on images.
Glad you found a solution. I guess that answers Levi's question - i.e., you only wanted a small, medium or large curve choice rather than a method that allowed you a variable number of curvatures.badger50 wrote:Thanks Guys for all the help and advice. I picked up a good script from
Cassel
http://creationcassel.com/store
Specializing in PSP specific products: scripts and tubes
Paid $4.99 for it but worth it saves me all the hassle of using masks etc. one click and its done.![]()
Regards,
JoeB
Using PSP 2019 64bit
JoeB
Using PSP 2019 64bit
Re: Need script that can do rounded corners on images.
A variable corner choice would have been nice.
I tested the 3 options and they offer S M L and its 99% of what I use. and they are quick (one click).
However if I ever need a specific size I go to http://www.quickpicturetools.com/en/
Its a web based tool. you upload your image and select the size of corner you want
Its a lot slower that the one click psp script..
That program has several other features. Best of all its use is FREE.
Cheers

I tested the 3 options and they offer S M L and its 99% of what I use. and they are quick (one click).
However if I ever need a specific size I go to http://www.quickpicturetools.com/en/
Its a web based tool. you upload your image and select the size of corner you want
Its a lot slower that the one click psp script..
That program has several other features. Best of all its use is FREE.
Cheers
-
Kathy_9
- Site Admin
- Posts: 2896
- Joined: Tue Nov 30, 2010 12:44 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- processor: 8th Generation 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: PSPX2 ~2023; Painter 2018~23
- Location: USA
- Contact:
Re: Need script that can do rounded corners on images.
Sounds like JoeB is working on one that will give you what you are looking for. Keep your eye on this thread in the scripting section.
http://forum.corel.com/EN/viewtopic.php?f=104&t=61955
http://forum.corel.com/EN/viewtopic.php?f=104&t=61955
PSPX9 | PSP2020 | PSP2021| PSP2022 | PSP2023 & PhotoMirage installed; PSPX | PSPX2 thru PSP2019 owned but not installed
http://www.flickr.com/photos/37153430@N03/
http://www.flickr.com/photos/37153430@N03/
-
JoeB
- Posts: 2778
- Joined: Fri Mar 28, 2008 10:04 pm
- 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
- Location: Canada
Re: Need script that can do rounded corners on images.
I have now uploaded a script that not only provides a way to adjust the curvature of the corners of a rounded rectangle to get rounded corners on an image or crop from an image, but also allows you to change the size of the selection rectangle and the position of the rectangle on your image while you're at it. If interested, you can snag it here:
http://forum.corel.com/EN/viewtopic.php ... 96#p344796
EDIT: See my followup post below as of Aug. 2/17
http://forum.corel.com/EN/viewtopic.php ... 96#p344796
EDIT: See my followup post below as of Aug. 2/17
Regards,
JoeB
Using PSP 2019 64bit
JoeB
Using PSP 2019 64bit
-
JoeB
- Posts: 2778
- Joined: Fri Mar 28, 2008 10:04 pm
- 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
- Location: Canada
Re: Need script that can do rounded corners on images.
As of Aug. 2/17 I have uploaded a replacement zipped file of the script for those who already downloaded the original. It's the same script, same link, but I found one step asked in a popup if you wanted to delete a layer. That should have been done automatically and silently without needing input. Now it all works silently. Sorry about that! And here's the link again:
http://forum.corel.com/EN/viewtopic.php ... 96#p344796
http://forum.corel.com/EN/viewtopic.php ... 96#p344796
Regards,
JoeB
Using PSP 2019 64bit
JoeB
Using PSP 2019 64bit
