Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

How to cut corners of a rectangle like this?

Community Beginner ,
May 15, 2022 May 15, 2022

Is there a way to cut a rectangle's corners like this?

TOPICS
Actions and scripting , Windows
6.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
May 15, 2022 May 15, 2022

Create a square document.

Fill the background with black

Create a new layer and fill it with white

Use Free Transform to rotate the white layer 45°

image.pngexpand image

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 15, 2022 May 15, 2022

Using the same general idea, you could do this on any aspect ratio image by making a square selection centered on the image, and use Select > Transform Selection to rotate 45° and scale for the desired amount of cut, and then use the result as a Layer Mask.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 15, 2022 May 15, 2022

If you use the Rectangle Tool to create a shape layer, then you can use this Corner Editor script

then Image>Trim.

https://photoshopscripts.wordpress.com/2015/07/29/corner-editor-update-for-photoshop-cc-2015/

 

 

ce1.pngexpand imagece2.pngexpand image

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 15, 2022 May 15, 2022
LATEST

This is what clipping masks are used for.  Use any shape you like -- super simple or complex custom shapes.  

 

In this example, I used a puzzle piece from the Custom Shape library with a solid fill and border.  Notice the Layers panel.

 

image.pngexpand image

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines