It is good to enhance text with graphical illustrations. Wiki makes it easy to add images by uploading them as attachments and linking in the text. With a few simple considerations you can make your screenshots and pictures look good on the page. Not all of them are necessary for every image you make, but it's good to be aware of different techniques useful for particular cases.

Common Sense

There are a few considerations behind making a good screenshot or illustraton.

Taking a Good Picture

Here we will go over every step from preparing the subject of shooting to getting the picture ready to be published in some detial.

Preparing the View

Enhacing Visualization

Image Optimization

Finally you are happy with what your illustration contains, now it's time to put it into final form, ready for placing on the page.

The goal of optimization is to reduce the resolution and file size while preserving a sufficient amount of detail.

Cropping
to cut out the required portion, you can either select and copy/paste to a new editor or crop in place (see note on Windows Paint below)
Combining

several different shapes or overlapped windows can be combined, such as in Grid Test Drive or Plot 3D; with some practice it is quick and easy to do in a simple editor like Paint using the clipboard, the empty space of the same image and Undo function. To overlap irregular shapes, in Paint deselect the Opaque mode

Scaling
to have reasonable size, some images need to be scaled. It is best to use ratios of powers of 2 such as 75%, 50% or 150%, etc, unless you use a high-end editor with non-linear scaling.
Enhancing

after rescaling, images may loose contrast or become too bright; sometimes sharpening is necessary; to reduce pixellation and jagged lines, consider smoothing or smooth &. expand

Stylizing
sometimes decorations like shadows, texturing or selecting a good type for title may create a better view, but these should be used with restraint
Saving
for line art images such as plots use PNG format; for smooth images, such as photos use JPEG. Compression should produce smallest size without significant distortion, which varies with different pictures and purpose: precision archive quality or casual overview screenshot
Naming

last but not least is a good naming scheme for the images, so that it is easy to find or distinguish them later; but with for 1-2 illustrations plot1.png, plot2.png is good enough.

Placing Images

For general Wiki guidelines, see HelpOnLinking, HelpOnActions/AttachFile and HelpOnSmileys.

Smaller image, on a line by itself, looks better if indented: insert a space before inline:.

Floating Boxes

Floating boxes allow to place a small image flush at the margin embeded within the paragraph text, such as a simple box or a box with a title.

||<tablestyle="float:right"> inline:jal36.png||
This is paragraph text the image is floating with ...

To remove border, add style="border:0" between < >

Horizontal Table

Several smaller images can be shown side-by-side using a table, such as an image strip or an image table

|| inline:img1.png || inline:img2.png || inline:img3.png ||

Image Editors

Different programs can be used for editing and enhancing images.

On Windows a good choice is the standard Paint program. It is getting subtly improved with every version. The one for Windows XP supports PNG and has a good scale-down (decent bilinear), which works good on multiples of 2 scales, e.g. 75%. It has solid basic editing too, including large scale for icons, such as small flags.

For higher quality image processing similar to Photoshop filters.

Paint has very solid feel of selecting, moving around fragments and cropping operations, opaque or transparent background modes. It is also very precise, e.g. to crop a view: select all, move to cut off top-left, deselect, drag the bottom-right corner to cut off the opposit part.

On Mac you can use the bundled AppleWorks with both drawing and painting programs. For image adjustment, iPhoto is a great tool.

Heavier weight, almost like Photoshop, but free is GIMP, good for vector paths, fonts, shadows and layer compositing.

Image Optimization Example

Here we will take a scan made at large resolution, and convert it to image that preserves all information and detail while fitting nicely on a page. We will use XnView.

Original: 1,000 Kb, 2464 x 2832
Optimized: 100 Kb, 887 x 1019

  1. Obserivng the original, we see that it is too large for screen viewing and has residual shades on paper.
    0_original.jpg

  2. Reducing the size. We will use the screen font criterion: matching the font size on the image to Courier New 10pt on the screen. Selecting menu Image | Resize we experiment a few times to find a good match (36%), by comparing width of the same sentence. We use Lanczos resampling.
    1_scale.jpg

  3. Among image adjustments we will use Contrast and Brightness. Choose from menu Image | Adjust | Brightness/Contrast... First increase contrast to remove dark residuals, then decrease brightness to match the density of glyph stems to that of a screen font in another window.
    2_adjust.png

  4. For export (optimizing resolution and size vs detail) we choose PNG to reduce quantization artifacts. Since there are only few colors, we choose indexed color, but to preserve font anti-aliasing we set the level to 64.
    3_export.png

Adaptive Scaling

With the more recent version of MoinMoin, it is now possible to specify attributes of the underlying HTML elements. In particular the <IMG> element, has the attribute width="123" where 123 is the resulting size in pixels.

This allows maintaining an adaptive DPI resolution strategy: for the display images to fit on screen, yet preserving the image resolution for high density printing. Note: the file size matters and too large images are undesirable. A practical ratio of the screen/print scaling is from 33% to 66%.

Taking the above example from NYCJUG agenda scans using NYCJUG/2005-02-08 and applying the following attributes:

we have the following result, where textual font size matched scanned font size.

agenda.png

EditingGuidelines/Images (last edited 2009-03-31 06:35:27 by OlegKobchenko)