Link to home
Start Free TrialLog in
Avatar of Axter
AxterFlag for United States of America

asked on

resize image without loosing shape

I'm creating multiple sets of graphic buttons, and I want to be able to change the size in width without loosing the shape of the button.

If I change the size in proportion to width&height, then I have no problems, and the image retains is correct shape.

However, if I try to change only the width, then I loose the original shape of the image/button.  The ends of the button gets flatten out.

How can I change the width and still maintain the shape at both ends of the button?
Avatar of weed
weed
Flag of United States of America image

Cant really, other than cutting the button in half, moving the two parts apart, then replicating middle chunks to fill the gap.
Avatar of Axter

ASKER

>>Cant really, other than cutting the button in half, moving the two parts apart, then
>>replicating middle chunks to fill the gap.

I'm actually starting with a larger button, and then I'm trying to shrink it down to the different sizes.

How can I cut the middle, and then put the two ends together?
Just use the marquee tool to select the middle, delete, then move the two ends together with the Move tool.
Avatar of Axter

ASKER

>>Just use the marquee tool to select the middle

That didn't work.

I'm think your method only works if the button is created using two circles and a square.

I created the button using rounded rectangle tool.
It still applies.
Avatar of Axter

ASKER

I was using the wrong tool. (Rectangle tool)

Now with the correct tool, the middle does get deleted, but I still can't get the two ends to slide together.

Exactly how do you use the move tool to slide the two ends together.
Select each end, then grab it with the move tool, and drag it. You might want to look into the Photoshop manual for the basics on image manipulation. Itll make this much easier.
Avatar of Axter

ASKER

>>Select each end

The ends are not selectable independent of each other.

When I select one end, the othe end is also selected.
Use your rectangular marquee tool to select one end. It IS selectable. This is much easier if you have some Photoshop basics under your belt. The manual is going to help you with that.
Avatar of Axter

ASKER

>>Use your rectangular marquee tool to select one end. It IS selectable.

Well it's not selecting it.

>>This is much easier if you have some Photoshop basics under your belt.

Yes, but then I wouldn't need to post this question.

>>The manual is going to help you with that.
I hate reading manuals.
I much prefer to try and figure it out on my own, and ask someone when I get stuck.

And I'm stuck.

Do you have any further advice, that does not pertain to the manuals?
If you dont know how to use the basic photoshop tools I cant really help you. Any advice is going to require you to know how to make and move a selection.
ASKER CERTIFIED SOLUTION
Avatar of webwoman
webwoman

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Axter

ASKER

>>If you dont know how to use the basic photoshop tools I cant really help you.

Then I'll wait for assistance from another expert, or request that this question be deleted.
Avatar of Axter

ASKER

>>And this would be immensely easier in Illustrator or Fireworks, where your shapes are vectors, not bitmaps.

I might consider doing that.

I hae Fireworks at home.  Do you have any good tutorial links for creating gel/glass/transparent buttons using Fireworks?
Look, you HAVE to know some basics. It's like driving a car to the store. We cant tell you how to drive to the store unless you know where the steering wheel is or how to use the brake pedal.
Avatar of Axter

ASKER

>>Look, you HAVE to know some basics. It's like driving a car to the store.

Look, I'm an expert in the C++ topic area, and when someone post a question, I don't expect them to know the language, the IDE, or even the operating system they're working on.

I often have to help the questioner by providing detailed information for things not directly related to C++ language, in order to help them solve their problem.

I never ask the questioner to go read the C/C++ standard, a windows programming book, windows users book, or a UNIX admin book.

If you can not provide the level of detailed help I need, please save your time for helping other questioners, who can better appriciate your level of assistance.

Thank you
But you do expect to not have to teach the basics of C++. If someone is asking a C++ question they at least know how to type, and have done a:

#include <iostream.h>
int main()
{
  cout<<"Hello World!";
  return 0;    
}

That is the equivalent to knowing how to make and move a selection. I even explained how that works above. Make a selection, and move it with the move tool. It's pretty straight forward.
Avatar of Axter

ASKER

>>If someone is asking a C++ question they at least know how to type, and have done a:

Yes, and no.

I do expect them to know how to type, but I don't even expect them to have done the above section of code.
And even if they do that section of code, I don't expect them to get it right.

For example, the code you posted is incorrect.
You're using <iostream.h>, which is *NOT* part of the C++ standard.
All new code should use <iostream> which is the extensionless version which is part of the C++ standard.

This is a correction I make to many newbie's who think *.h extension should be given to all standard header files.
I don't tell them they need to go read the standard, but I do reffer to the standard, and give out quoted sections if questioner needs it.

>>That is the equivalent to knowing how to make and move a selection.
And as I stated, I do give that level of assitance.


>>I even explained how that works above. Make a selection, and move it with the move
>>tool. It's pretty straight forward.

And as I stated, I did that, and  it didn't work.

Have you tried this method on an object that you have created from scratch USING the rounded rectangle tool?

I like to also point out, that I often tested out questioners code on my own compiler to make sure we're talking apples and apples.
I'm not convince you've tested your proposed method with the same type of object.
I do it ALL the time. I know it works. You HAVE rasterized the vector layer right?
Avatar of Axter

ASKER

>>You HAVE rasterized the vector layer right?

I did rasterize the first layer I used to create the shape.
So a selection, on that layer, is selecting pixels, and the move tool moves them. Just move them together.
Avatar of Axter

ASKER

I have tried that.

I've saved the psd files to the following links:

http://axter.com/images/blueglass1.psd
http://axter.com/images/blueglass2.psd

The first one still has the original shape.

In the second link, I've cut away the center, however, I can seem to put the remaining two ends together, as previously stated.
Selecting one end, causes the other end to be selected, and they fail to move independent of each other.
Avatar of Axter

ASKER

I have tried that.

I've saved the psd files to the following links:

http://axter.com/images/blueglass1.psd
http://axter.com/images/blueglass2.psd

The first one still has the original shape.

In the second link, I've cut away the center, however, I can seem to put the remaining two ends together, as previously stated.
Selecting one end, causes the other end to be selected, and they fail to move independent of each other.
You need to merge your layers first. You cant make a layer selection and move all the bits together when you have that many layers.
Avatar of Axter

ASKER

>>You need to merge your layers first.

And how do you merge the layers.



I did figure out the main problem I was having.
One key instruction you missed was to use the Magic Wand tool to select the item.

When you said select the item, I assume clicking on the item with the move tool accomplish selection. (as with most windows applicatons).
However, after fooling around with the different tools, I found the wand option.

I was able to move the ends together one layer at a time.

However, if there's a method for moving multiple layers at one time, I would rather use it.

How can I move multiple layers at one time?
You do not need to use the magic wand tool to select the item. That's why i said use the marquee tool, not the magic wand tool.

If you link layers you can move them at the same time, but that moves the entire layer, not half of it which is what you need to do and why you need to use a selection.

Merge layers via the Layer menu.
Avatar of Axter

ASKER

>>That's why i said use the marquee tool, not the magic wand tool.

I don't understand why using that method does not work.  It does not let me select the ends when I try to use the marquee tool.


>>why you need to use a selection.
>>Merge layers via the Layer menu.

So if I get the marquee tool to work, I should be able to merge the selected are together?

Avatar of Axter

ASKER

>>That's why i said use the marquee tool, not the magic wand tool.

Have you tried that on the linked file I posted?

Using that file, can you put the ends together, or select the end independant of each other?
The magic wand tool does work, but it's only one of about 60 ways to do it. You dont HAVE to use it.

The marquee tool has nothing to do with merging. The marquee tool is just to select the bit you want to move.

I dont need to try it on that file. I've looked at the file, and know exactly what youre trying to do. i've done it a thousand times on similar files.
Avatar of Axter

ASKER

>>I dont need to try it on that file. I've looked at the file, and know exactly what youre trying to do.
>>i've done it a thousand times on similar files.

OK, then can you tell me how to do it.....
I give up. We've already given you what you need to know but you havent listened. Something this simple should not require 30 posts.
Avatar of Axter

ASKER

>>I give up. We've already given you what you need to know but you havent listened. Something this
>>simple should not require 30 posts.

Fair enough.  I'm posting another related question.
Please let another expert assist me.

Thank you