![]() |
|
JaggiesJaggies are undesirable artifacts that can appear when attempting to draw (lines, character glyphs, scaled versions of other bitmaps, etc.) on a bitmap, and result in a jagged appearance to the final result.Jaggies can be mitigated by using a higher resolution bitmap, or by using anti-aliasing. Let's look at a couple of examples: For example, let's say that we wish to draw a line between the two blue pixels shown (I have zoomed into the bitmap so that you can see the individual pixels).
An obvious difficulty is that we can't really draw an absolutely straight line, because each pixel can only contain a single color. The best that we can achieve is something like this:
As you can see, this is less than perfect, because the line itself is jagged, and at a several points in the line, there are bumps. In other words, our image suffers from jaggies. Another situation where jaggies can arise is if we wish to scale (resize) a bitmap up or down. Imagine we have the following small bitmap:
While it has some jaggies, it isn't too bad, the lines are as smooth as we can make them given the resolution. However, if we wish to double the size of the bitmap, we need to add extra pixels, and we can only do that by duplicating existing pixels. (In this particular example, each pixel in the original image becomes a 2 by 2 grid of pixels in the final image). This results in a much more jagged picture:
Related Books:
|
||||||||||||||||||||||||||||||||||||||||||||
| Privacy Terms Of Use Copyright © 2005-2008, Answers 2000 Limited With any business, it is up to the individual owner of said business to ensure the success of the business. You may make more or less than any sample figures or results that might be quoted on our web sites or other publications. All business involves risk, and many businesses do not succeed. Further, Answers 2000 Limited does NOT represent that any particular individual or business is typical, or that any results or experiences achieved by any particular individual/business is necessarily typical. In Association With Amazon.com All trademarks are property of their respective owners. All third party content and adverts are copyright of their respective owners. Some graphics on our web sites are Copyright (C) 1997-2000 Hemera Technologies Inc., and used under license. All such pictures are provided for viewing purposes only and are not to be saved or downloaded. All such pictures of recognizable individuals are models and used for illustrative purposes only, and not meant to imply any association or endorsement of said individual with any product or service. |