Re: Creating beautiful thumbnails
Re: Creating beautiful thumbnails
- Subject: Re: Creating beautiful thumbnails
- From: Scott Anguish <email@hidden>
- Date: Sun, 14 Apr 2002 04:01:30 -0400
This works great, but in some cases creates a pretty high-contrast
image, as though the thumbnail's been excessively sharpened in
Photoshop. I've created thumbnails using QuickTime which seem
higher-quality, and so suspect I'm missing some essential nuance in
Cocoa.
Hmmm.. that's interesting... You can change the interpolation used
by modifying the graphics context - see NSGraphicsContext
Are there any handy tips for creating the best thumbnails possible from
an image? For instance:
* Are jpegs better than pngs, or one image type superior to
another? Both jpegs and pngs look about the same when generated using
the above method.
jpeg is lossy (or can be), but on natural images, and without
raising the factor too high, it's not noticeable.. however, on other
types of images, say, text, it is very noticeable at even low factors of
compression
png isn't lossy, so you are always guaranteed no loss
jpg is often smaller than png because of it's lossy properties
png supports an alpha channel, jpeg does not
* Can foreground/background colors subtly influence things? I
haven't found that they do.
don't think so no..
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.