×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

How to resize image with different lengths on each side

How to resize image with different lengths on each side

How to resize image with different lengths on each side

(OP)

Hi

I need to resize an image in such a way that for example, the left side is 100 pixels, right side 89, top 90, bottom 95 pixels.

Is this possible?

I am ok at resizing with equal sides but not sure about the rest.

Thank you
KB

RE: How to resize image with different lengths on each side

(OP)

Sorry forgot to mention, I'm using psp version 7

KB

RE: How to resize image with different lengths on each side

You can't. Images are rectangles, and must have the same measurements in opposing sides. Which means the height of the image must be the same on the left and on the right, and the width must be the same on top and bottom.




----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

RE: How to resize image with different lengths on each side

(OP)

So there is no way to do this? Do you know of any other software app that could?

RE: How to resize image with different lengths on each side

Its not a matter of software apps. All images are by creation rectangular.  Think of an image as a container, a rectangular container. Inside the container is your drawing.

I presume what you want is not to change the shape of the image, but to make a shape inside it of those dimensions.

What you would need to do is draw the shape inside an image big enough to fit the shape.

For example:
This is a shape with sides of different lengths. However the image itself has a height and width of 128px. whatever is not part of the shape is transparent so you can't see it.



If i fill in the rest of the image then you can see it is a square with a figure inside it.




----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

RE: How to resize image with different lengths on each side

(OP)

Hi vacunita

Thank you for the comprehensive explanation.

Now that you have shown an image/shape which is very similar to one I have, what I am trying to achive is to put an existing image inside the confines of that shape.

So in other words, I will have a rectangular image with a diamond shape with an image inside that diamond shape.

I hope that makes sense.

Lee

RE: How to resize image with different lengths on each side

Yes, that makes sense.

Create an image big enough to hold your diamond.

Make sure its background is transparent.
Draw your diamond, and then copy and paste the picture you want onto the diamond.

You will then need to save the file either as a GIF or PNG  to preserve the transparency.  JPG's don't support transparencies.

You can use the Export Feature from the file menu for this.

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

RE: How to resize image with different lengths on each side

(OP)

Many thanks.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close