How to resize swf image?

What's the best way to resize an image?

  • What's the absolute best (as in quality) way to resize a digicam image for viewing on the web? Currently, I have a 5MP Canon point-and-shoot that seems to take altogether decent shots. However, whenever I try reducing them in size for web display—to about, say, 500 pixels in width—I am invariably disappointed in the sharpness of the image. My current method involves: (1) opening the image in Photoshop, (2) adjusting levels, curves, what have you, (3) reducing the image in size using PS's native function, and (4) applying an Unsharp Mask, usually in the area of 0.4-0.5 pixels, 100%, 0 threshhold. I have also tried http://www.fredmiranda.com/WP_Pro_Plugin/, which resizes in increments down to the desired size. The results are OK, but not on par with what I see elsewhere on the web (http://hchamp.com/). I feel like when I first resize the images, they are ridiculously soft. The Unsharp Mask brings it in line *a bit*, but I can never get a nice sharpness: before I can get rid of the softness, I start seeing halos from sharpening too much. Am I screwing something up? Or just expecting too much from my $400 camera? If the latter, is it a focus problem or a straight up megapixel deficiency? Here's some http://deadfather.com/images/sample/ I've taken, resized, and sharpened with UM.

  • Answer:

    Many professional users prefer to do Unsharp Masking of color scans on the Lightness channel of LAB mode. Since the Lightness channel has a maximized tonal range and, therefore, presents maximum contrast, the shapening effect, which is based on areas of contrast, is also maximized. Furthermore there is less chance of colored artifacts developing from slight oversharpening while sharpening in the Lightness channel. (Going from RGB to LAB mode and back again does not deteriorate the file at all.) (http://www.carlvolk.com/photoshop03.htm)To be more precise, the venerable http://slower.net uses the following steps:# Select "Lightness" channel, view all channels # Unsharp mask in Lightness channel (defaults [45%, 0.3, 1], manual adjust)

deadfather at Ask.Metafilter.Com Visit the source

Was this solution helpful to you?

Other answers

Well, looking at both sets I'm not sure what you mean. The (cough) sets you linked to don't look sharper than yours. They do, however, have a much shallower depth of field (area that is in focus) and so they have a certain "pop". Shallow DOF is difficult to achieve using a p&s digicam. So I don't think sharpness is the issue here.

selfnoise

I use the "bicubic sharper" method to downsize images in PS, and I'm happy with it. I've never had a problem with a 500 px image seeming soft; my problem is almost always the opposite (an image seeming sharp at 500 px, but not at full size). But sharpness is not a strictly quantitative thing, so I guess it could be subjective. I downsize 3000x2000 px images to 400x266 px images with, if any change at all in the sharpness, an apparent increase, using nothing other than Photoshop CS2's "bicubic sharper" option to change the image size.

teece

I downsize 3000x2000 px images to 400x266 px images with, if any change at all in the sharpness, an apparent increase, using nothing other than Photoshop CS2's "bicubic sharper" option to change the image size. I'm stuck with v7 for now, which boasts no such feature, unfortunately. (And thanks for the tip, rafter, will definitely try that as well.)

deadfather

By and large, your daylight samples look pretty sharp to me. The low-light shot (juniors.jpg) was probably a somewhat long exposure, or shot at a high ISO, which in turn triggered a too-aggressive noise removal algorithm (a common complaint with Canons). house.jpg looks like bad digital zoom (turn it off in settings and live with what the camera can do optically). In Photoshop Image >> Image Size..., make sure you're using the "bicubic" resample option. A more fiddly tip would be to resize only to power-of-two fractions (1/2, 1/4, 1/8, etc.) of the raw size. There might be marginally less rounding error/aliasing that way. Remember that the clarity and dot pitch of your monitor also influence apparent sharpness. And last, yes, a nice prime (non-zoom) lens on a 35mm camera is always going to look a little better than the fixed zoom on a consumer digicam.

eshepard

Something I've found that helps when resizing large images is to do it in multiple resizes. Going from 3000px to 500px can cause some jagged edges, something I noticed in your arch photo. But resizing in stages (from 3000 to 2000, to 1000, to 500 for example) lessens that effect, after which you can sharpen.

rhapsodie

When resizing an image in Photoshop I use Canvas Size to keep the pixel dimensions even on both sides. Adding or subtracting a pixel this way avoids the rounding error/aliasing problems eshepard mentioned.

tut21

I sharpen twice. Once before I resize, then again after the resizing is complete. So for a digital painting that's about 5000 pixels on one side, I'll unsharp mask at .6 to 1, resize to web size (800 or 900 pixels on its' longest side), then unsharp mask at .4 or so. Of course, most digi cams that I've used leave a huge amount of deeply ugly noise in the blue channel, which wreaks havoc with my digital painting sharpening method. So before I sharpen a digital photo, I switch to LAB mode and fix the noise issue there by blurring the A and B channels a bit.

xyzzy

What everyone said. Another thought: I think there's a human factors aspect to it, as well. How are you assesing sharpness? It's something we can all get over stressed about. I've found myself peering at pictures up close (too close) to the screen while fussing with USM controls, trying to squeeze that very last possible iota of sharpness from an image for web presentation. Then realizing that at such a close viewing distance from a CRT no photo is going to appear perfectly sharp. Leaning back in my chair to a sensible viewing distance... "Hey, actually, that doesn't look half bad!"

normy

I've never noticed anything but an increase of sharpness when sizing down. Are the full size images sharp? That makes the biggest difference.

Nothing

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.