how can i resize line image width but height will be same and quality will be remain as it seen through Photoshop is it possible

enter image description here

  • Hi Anubhav, What have you tried and why didn't that work?
    – AndrewH
    Commented Aug 12, 2015 at 13:05
  • i have a line of 320px i want it 200px but height must be same can but quality will be remain how in photoshop Commented Aug 12, 2015 at 13:28
  • I understand what you want to do but have you tried anything to resize the line yourself? You could transform the line, you could just re-create the line with rounded rectangle tool.
    – AndrewH
    Commented Aug 12, 2015 at 13:33
  • no option by photoshop Commented Aug 12, 2015 at 13:34
  • 1
    What do you mean "no option by photoshop"? I explained 2 methods of shortening the line in Photoshop in my last comment. Please try something and your chances for a good answer increase.
    – AndrewH
    Commented Aug 12, 2015 at 13:35

1 Answer 1


You can use the "Free Transform" command (no round corners)

Simply select the layer where your line is, and press "command + T" on your keyboard (or Control + T on pc)

You can also right-click on your shape (while having the layer selected where it is) and you'll see the command Free Transform in the menu too.

Fres Transform

**Then you'll see some handles appearing.

Zoom in and you'll see there's an handle in the middle that isn't in a corner; it's hard to see on small lines like yours if you don't zoom the image.**

It's the one you need to click and drag to the left or right to resize your line without losing quality, and without increasing the thickness of the line. If you click on the handles on the corner, they will transform your line vertically and horizontally.

Free Transform horizontally

You can do a simple "cut and duplicate" (round corners)

Delete a middle part of line.

cut line

Use the "move tool" and move one of the end closer the the center of your line.

move selection

Use the "Rectangle Marquee Tool" (rectangle selection), select a middle part of your line and duplicate it. Hold "shift + alt + command" to duplicate your selection. Duplicate many times if needed.

Note: This can create jagged lines because of the anti-aliasing. In this case, use free transform as mentioned above instead of duplicate to join it with the end of your line.


  • but i want rounded corner in both side Commented Aug 13, 2015 at 6:00
  • @Anubhav Edited. In return, could you please edit your question as well to mention you want to 1) Resize smaller and 2) keep the corners? It's not that obvious your line has corners at the size of your image.
    – go-junta
    Commented Aug 13, 2015 at 6:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.