?
Solved

Resizing Image without stretching

Posted on 2011-02-12
2
Medium Priority
?
913 Views
Last Modified: 2013-11-19
Greetings,

I run into this problem quite frequently: I'm given an image to use in a web page but the image dimensions do not match the dimensions of the area where I need to place it.  

If I resize the image in PS constraining proportions so the image does not distort (e.g. stretch or flatten), I can only ever reset one dimension (height or width) to the correct size while the remaining dimension will always reset either larger or smaller than what I need.

Short of going back to the person who gave me this image and asking for them to redo it with the necessary dimensions, is there a way I can do this myself using Photoshop or Fireworks?  

Also, is there a particular name for what I'm trying to achieve?  By that I mean I don't think this is simply resizing an image since I am really trying to fundamentally alter the original proportions of it in a different sense ... at least that's how it seems to me.
0
Comment
Question by:max7
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
JayDiablo earned 2000 total points
ID: 34879466
If you want to maintain the look of the image (don't want to smush it or stretch it), I think the only option you have is to make one of the dimensions (height or width) match your final output size, and make sure the other dimension is too big for your final output size, and then crop off the excess.

I really think you only have two options here.  Crop the image to match the dimensions (this will retain the look of the image, no stretching, but you'll lose some of the image that is outside your crop boundary), or resize the image to the dimensions (this will result in stretching the image, but you won't lose any of the image like you do with a crop).
0
 
LVL 1

Author Closing Comment

by:max7
ID: 34879538
>>> Crop the image to match the dimensions (this will retain the look of the image, no stretching

Why didn't I think of that?  Thanks!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction When sharing photos, especially via e-mail, the large resolution images that most cameras take today make for extremely large file sizes. The time required to upload these files to forums, send in e-mails, post to blogs or even placi…
Keep your audience engaged and get the most out of your next presentation with these quick Prezi tips.
Learn how to set up basic frames and paths in Prezi and understand the open space that Prezi allows you to create presentations in.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Suggested Courses
Course of the Month14 days, 1 hour left to enroll

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question