Script to convert rounded corners to sharp edge

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators: Tom, Kukurykus

mycort

Script to convert rounded corners to sharp edge

Post by mycort »

I have a rectangle shape with rounded corners......is there a way to convert the rounded corners to be hard sharp edges?

Basically, there's 2 points that make the rounded corners....is it possible to simply merge/weld these 2 points into 1 point...hence making a corner edge?

Professional AI Audio Generation within Adobe Premiere Pro - Download Free Plugin here

david

Script to convert rounded corners to sharp edge

Post by david »

Here's a tool I put together for adjusting rounded rectangles.
It allows you to adjust the corner radii independently. It doesn't actually merge the points, but it puts them in exactly the same position, so it should work fine.
Edit: see my next post for newest version.
mycort

Script to convert rounded corners to sharp edge

Post by mycort »

Holly crap, just tried this out and this is pure genius....impressive man and very helpful........great job man, i will use this all the time!!!
david

Script to convert rounded corners to sharp edge

Post by david »

I released an updated version of the script. It works with multiple layers at once. I also fixed a couple of bugs.
http://photoshopscripts.wordpress.com/2 ... s-resizer/
mycort

Script to convert rounded corners to sharp edge

Post by mycort »

Man, this is truly one impressive and most useful scripts, thanks alot for the update. Never even knew that you can load a dialog with options and buttons with a simple script
mycort

Script to convert rounded corners to sharp edge

Post by mycort »

One suggestion if its possible,

Is it possible to control the rounding of the corners via a key combination like Shift + arrow up or down?
Ra9chelle

Script to convert rounded corners to sharp edge

Post by Ra9chelle »

I released an updated version of the script.


mycort

Script to convert rounded corners to sharp edge

Post by mycort »

did you add a code snippet or link in this post? because I can't see anything here.......