changing shape size by entering pixels positions

GH
Posted By
Georges Heinesch
Jul 30, 2006
Views
2919
Replies
13
Status
Closed
Hi.

I have a layer with a rectangular shape in it. This shape, I’d like to extend to all 4 directions, by changing directly the position (in pixel).

Is there a possibility I can view any manipulate the absolute position of a shape directly by changing it’s pixels?

Thanks,


Georges Heinesch

Master Retouching Hair

Learn how to rescue details, remove flyaways, add volume, and enhance the definition of hair in any photo. We break down every tool and technique in Photoshop to get picture-perfect hair, every time.

E
edjh
Jul 30, 2006
Georges Heinesch wrote:
Hi.

I have a layer with a rectangular shape in it. This shape, I’d like to extend to all 4 directions, by changing directly the position (in pixel).
Is there a possibility I can view any manipulate the absolute position of a shape directly by changing it’s pixels?

Thanks,
Use Transform. You can enter pixel values in the Options Bar.


Comic book sketches and artwork:
http://www.sover.net/~hannigan/edjh.html
Comics art for sale:
http://www.sover.net/~hannigan/batsale.html
GH
Georges Heinesch
Aug 2, 2006
edjh wrote:

Georges Heinesch wrote:

Hi.

I have a layer with a rectangular shape in it. This shape, I’d like to extend to all 4 directions, by changing directly the position (in pixel).
Is there a possibility I can view any manipulate the absolute position of a shape directly by changing it’s pixels?

Thanks,

Use Transform. You can enter pixel values in the Options Bar.

Thanks, but using Transform, I can only manipulate the pixels of the refernce point. If I can extend the shape using Transform, I’d appreciate if you could be more specific.

Meanwhile … I tried the Select / Modify / Expand… feature. This enlarges my selection indeed as desired, however I don’t know how the adapt the existing (too small) shape to this selection. Apart from that, the edges become tilted 45 degrees, which is also not desired.

There must be an easy way to simply make an (e.g) 100×50 pixel rectangle grow to (e.g.) 120×70 (keeping the same center).

Thanks,


Georges Heinesch
JM
James McNangle
Aug 3, 2006
Georges Heinesch wrote:

There must be an easy way to simply make an (e.g) 100×50 pixel rectangle grow to (e.g.) 120×70 (keeping the same center).

There is. Select ‘Image’, then ‘Image size’, then tick ‘Resample Image’ and untick ‘Constrain Proportions’, and finally enter the new dimensions. That’s all there is too it.

James McNangle
T
theartist
Aug 3, 2006
James McNangle wrote:
Georges Heinesch wrote:

There must be an easy way to simply make an (e.g) 100×50 pixel rectangle grow to (e.g.) 120×70 (keeping the same center).

There is. Select ‘Image’, then ‘Image size’, then tick ‘Resample Image’ and untick ‘Constrain Proportions’, and finally enter the new dimensions. That’s all there is too it.

James McNangle
Hold the "Alt" button or equivalent MAC button down when transforming


§¦: } theartist
A successful man is one who makes more money than his wife can spend.
GH
Georges Heinesch
Aug 3, 2006
James McNangle wrote:

Georges Heinesch wrote:

There must be an easy way to simply make an (e.g) 100×50 pixel rectangle grow to (e.g.) 120×70 (keeping the same center).

There is. Select ‘Image’, then ‘Image size’, then tick ‘Resample Image’ and untick ‘Constrain Proportions’, and finally enter the new dimensions. That’s all there is too it.

James McNangle

You are talking about am image size (the complete image), while I am talking about a shape (rectangle) inside the image.


Georges Heinesch
GH
Georges Heinesch
Aug 3, 2006
theartist wrote:

Hold the "Alt" button or equivalent MAC button down when transforming

Sorry … could you be more specific.

I’d like to change the size of a shape, not a complete image.

Bye,


Georges Heinesch
JM
James McNangle
Aug 3, 2006
Georges Heinesch wrote:

James McNangle wrote:

Georges Heinesch wrote:

There must be an easy way to simply make an (e.g) 100×50 pixel rectangle grow to (e.g.) 120×70 (keeping the same center).

There is. Select ‘Image’, then ‘Image size’, then tick ‘Resample Image’ and untick ‘Constrain Proportions’, and finally enter the new dimensions. That’s all there is too it.

James McNangle

I can’t imagine why you want to do it, but:

1. Select rectangle
2. Ctrl-Insert (copy it)
3. Ctrl-N
4. Enter
5. Shift-Insert (make a new page and paste it)

Now you have to rectangle on its own page. If the new version is not going to overlap the old version, delete the old version, and camouflage the hole.

6. go through the procedure I described before to resize the copy. Then (on copy)
7. Ctrl-A
8. Ctrl-Insert
9. Select a rectangle on the old image roughly where you want the new one to go 10. Shift-Insert (Paste copy)
11. Select move tool, and drag copy to where you want it. 12. merge layers and save.

If you want to do any other weird things to the rectangle, like messing around with its colours, you can do them on the copy before you put it back, or on the second layer before you do the merge.

If you don’t want to resize to exact dimensions, you can get the same result much more simply by selecting the rectangle, then selecting edit > transform (or free transform), and reshaping it as you like. Ctrl-M will allow you to mess around with the colour of the selected part, but I think image resize will always affect the whole image. As before, if the new version doesn’t overlap the old version, you will have to delete the residue and camouflage the hole.

James McNangle
GH
Georges Heinesch
Aug 3, 2006
James McNangle wrote:

Georges Heinesch wrote:

James McNangle wrote:

Georges Heinesch wrote:

There must be an easy way to simply make an (e.g) 100×50 pixel rectangle grow to (e.g.) 120×70 (keeping the same center).

There is. Select ‘Image’, then ‘Image size’, then tick ‘Resample Image’ and untick ‘Constrain Proportions’, and finally enter the new dimensions. That’s all there is too it.

James McNangle

I can’t imagine why you want to do it, but:

It’s for e menu project in connection with DVD Encore. I need a rectangle shape in a layer to match exactly a text of 2 lines ("=1" = selected and acivated button). The rectangle snaps nicely on the borders of the text layer, but I have to extend this rectangle by a few pixel since the text has a drop shadow, extending outside of the rectangle.


If you don’t want to resize to exact dimensions, you can get the same result much more simply by selecting the rectangle, then selecting edit > transform (or free transform), and reshaping it as you like.

<Edit / Free Transform> does indeed the job. I can resize the shape on pixel level. This solves my problem!

However when I change the "Refernce point location" by clicking on one of the 9 little buttons on the toolbar, the whole shape moves to the right everytime I select another reference point location. Why is that?

Thanks a lot for this detailed guide!


Georges Heinesch
T
theartist
Aug 3, 2006
Georges Heinesch wrote:
theartist wrote:

Hold the "Alt" button or equivalent MAC button down when transforming

Sorry … could you be more specific.

I’d like to change the size of a shape, not a complete image.
Bye,
yeah.

Edit>Transform>Holding ALT key>RTFM


§¦: } theartist
A successful man is one who makes more money than his wife can spend.
GH
Georges Heinesch
Aug 3, 2006
theartist wrote:

Georges Heinesch wrote:

theartist wrote:

Hold the "Alt" button or equivalent MAC button down when transforming

Sorry … could you be more specific.
I’d like to change the size of a shape, not a complete image.

Edit>Transform>Holding ALT key>RTFM

Holding the ALT key simply reflects the change on the other side of the reference point. Usefull, but not really a solution.

I need to expand my rectangular shape exactly 5 pixel in each direction.

Besides that, the "Free Transform Path" shows pixels with decimals (e.g. 253,3) How can a pixel be split up ?!?!


Georges Heinesch
T
theartist
Aug 4, 2006
Georges Heinesch wrote:
theartist wrote:

Georges Heinesch wrote:

theartist wrote:

Hold the "Alt" button or equivalent MAC button down when transforming
Sorry … could you be more specific.
I’d like to change the size of a shape, not a complete image.
Edit>Transform>Holding ALT key>RTFM

Holding the ALT key simply reflects the change on the other side of the reference point. Usefull, but not really a solution.

I need to expand my rectangular shape exactly 5 pixel in each direction.
Besides that, the "Free Transform Path" shows pixels with decimals (e.g. 253,3) How can a pixel be split up ?!?!
Amen… That’s been my biggest (and really ONLY) gripe about most Adobe Products. Splitting pixels shouldn’t be possible. Also I’d like to see a widget to scale an objects width and height by typing in an exact width (as in Flash, or Quark).

Try setting some guides with the grid on (set to 1 px), Turn the Snap to Guides option on, and stretch the rectangle (holding ALT) to the guides. Might take a bit of fussing, but it should work.


§¦: } theartist
A successful man is one who makes more money than his wife can spend.
GH
Georges Heinesch
Aug 4, 2006
theartist wrote:

Georges Heinesch wrote:

Try setting some guides with the grid on (set to 1 px), Turn the Snap to Guides option on, and stretch the rectangle (holding ALT) to the guides. Might take a bit of fussing, but it should work.

I does. Thanks a lot for the hints!


Georges Heinesch
T
theartist
Aug 8, 2006
Georges Heinesch wrote:
theartist wrote:

Georges Heinesch wrote:

Try setting some guides with the grid on (set to 1 px), Turn the Snap to Guides option on, and stretch the rectangle (holding ALT) to the guides. Might take a bit of fussing, but it should work.

I does. Thanks a lot for the hints!
It took LOTS of fussing, I’ll bet. 😀

No problem.–

§¦: } theartist
A successful man is one who makes more money than his wife can spend.

How to Improve Photoshop Performance

Learn how to optimize Photoshop for maximum speed, troubleshoot common issues, and keep your projects organized so that you can work faster than ever before!

Related Discussion Topics

Nice and short text about related topics in discussion sections