As a mobile developer, I often find myself in the situation where I have an image that I want to use, but it is not the exact size, or even aspect I need it to be.
Most of the time I can get by using Paint .NET to resize images. Paint.NET is a free image and photo editing program. If you don’t have it, download it. It rocks!
But sometimes it doesn’t matter what I do, I can’t get the image to the size I need. I have tried all of these resizing options:
But again, sometimes it doesn’t matter what I do. I understand “Garbage In, Garbage Out”. I just hate it when I have “Awesome In, Garbage Out”.
Recently, I heard about Seam carving, or content aware image resizing as it is sometimes called. This is so smart, brilliant even.
Seam carving is an image resizing algorithm developed by Shai Avidan and Ariel Shamir. This algorithm alters the dimensions of an image not by scaling or cropping, but rather by intelligently removing pixels from (or adding pixels to) the image that carry little importance.
Now we know what the problem is, and we have learned about a great possible solution to this common problem, all that is left is to learn how to perform Seam Carving on our images. And that’s where SEAMonster comes in.
Download: Mike Swanson's Blog : SEAMonster: A .NET-Based Seam Carving Implementation
Here is a sample image that has been resized using both Bicubic and Seam Carve techniques. Notice how the Seam Carved version still has all the important “data”, and how Bicubic just squished everything equally?
I saw where Photoshop CS4 was adding Seam Carving, and there is a online flash implementation here: http://rsizr.com/
Theme design by Jelle Druyts
Pick a theme: BlogXP BlogXP business calmBlue Candid Blue dasBlog dasblogger DirectionalRedux Discreet Blog Blue Elegante essence Just Html MadsSimple Mobile Mono Movable Radio Blue Movable Radio Heat nautica022 orangeCream Portal Project84 Project84Grass Slate Sound Waves The Right Stuff 2.0 Tricoleur useit.com Voidclass2 BlogXP BlogXP business calmBlue Candid Blue dasBlog dasblogger DirectionalRedux Discreet Blog Blue Elegante essence Just Html MadsSimple Mobile Mono Movable Radio Blue Movable Radio Heat nautica022 orangeCream Portal Project84 Project84Grass Slate Sound Waves The Right Stuff 2.0 Tricoleur useit.com Voidclass2
Powered by: newtelligence dasBlog 2.0.7226.0
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2010, Chris Craft
E-mail