ImageMagick Examples --
Background Examples
This is a table of applying various transforms against some 'random' canvases,
showing methods of producing interesting random backgrounds at whatever size
you desire, whether it is a single large image, or a background tile for a web
page.
The table starts with the method used to generate the initial 'random' image
used to generate all the other images shown. Just insert the various image
'transform' into the command, to magick the raw image into something similar
to that shown. From there you can adjust the various setting yourself to
produce exactly the type of background image you want.
Be sure to read the notes at the end, before attempting to create your own
examples. and please mail any interesting variations you may come across.
Input Images :- Generator, Transform and Post-processing | ||||
---|---|---|---|---|
Images results shown here were generated with a "-noop " null
transform operator | ||||
Plasma Fractal (non-tiling canvas image) | ||||
|
![]() | |||
Random Noise (tilable background image) | ||||
|
![]() | |||
Random Hex Tile (hex tile background image) | ||||
|
![]() | |||
Basic Transforms | ||||
blur_raw (no post -auto-level)
|
![]() |
![]() |
![]() | |
blur_1
|
![]() |
![]() |
![]() | |
blur_3
|
![]() |
![]() |
![]() | |
blur_5
|
![]() |
![]() |
![]() | |
blur_10
|
![]() |
![]() |
![]() | |
intensity
|
![]() |
![]() |
![]() | |
channel
|
![]() |
![]() |
![]() | |
hues
|
![]() |
![]() |
![]() | |
Shade Transforms | ||||
shade_raw (no post -auto-level)
|
![]() |
![]() |
![]() | |
shade
|
![]() |
![]() |
![]() | |
shade_dimmed (no post -auto-level)
|
![]() |
![]() |
![]() | |
shade_1
|
![]() |
![]() |
![]() | |
shade_2
|
![]() |
![]() |
![]() | |
shade_5
|
![]() |
![]() |
![]() | |
shade_10
|
![]() |
![]() |
![]() | |
Emboss Transforms | ||||
emboss_1
|
![]() |
![]() |
![]() | |
emboss_1g
|
![]() |
![]() |
![]() | |
emboss_0s
|
![]() |
![]() |
![]() | |
emboss_1s
|
![]() |
![]() |
![]() | |
emboss_1gs
|
![]() |
![]() |
![]() | |
emboss_5gs
|
![]() |
![]() |
![]() | |
Edging Transforms | ||||
charcoal
|
![]() |
![]() |
![]() | |
charcoal_10s
|
![]() |
![]() |
![]() | |
charcoal_1s
|
![]() |
![]() |
![]() | |
edges
|
![]() |
![]() |
![]() | |
edge_grey
|
![]() |
![]() |
![]() | |
mesas
|
![]() |
![]() |
![]() | |
Line Generating Transforms | ||||
lines
|
![]() |
![]() |
![]() | |
loops
|
![]() |
![]() |
![]() | |
engrave_loops
|
![]() |
![]() |
![]() | |
engrave_loop
|
![]() |
![]() |
![]() | |
color_contours
|
![]() |
![]() |
![]() | |
contours
|
![]() |
![]() |
![]() | |
Complex Textured Blob Transforms | ||||
(using a strange '-edge 1 ' effect) | ||||
blobs
|
![]() |
![]() |
![]() | |
blobs_grey
|
![]() |
![]() |
![]() | |
pits
|
![]() |
![]() |
![]() | |
ridges
|
![]() |
![]() |
![]() | |
mottled
|
![]() |
![]() |
![]() | |
Paint Transforms | ||||
paint_raw10 (no post -auto-level)
|
![]() |
![]() |
![]() | |
paint_areas
|
![]() |
![]() |
![]() | |
paint_raw10s
|
![]() |
![]() |
![]() | |
paint_8
|
![]() |
![]() |
![]() | |
paint_8s
|
![]() |
![]() |
![]() | |
paint_3
|
![]() |
![]() |
![]() | |
paint_3s
|
![]() |
![]() |
![]() | |
paint_3d
|
![]() |
![]() |
![]() | |
Gradient Transforms | ||||
levels (no post -auto-level)
|
![]() |
![]() |
![]() | |
levels_3d (no post -auto-level)
|
![]() |
![]() |
![]() | |
zebra
|
![]() |
![]() |
![]() | |
midlevel
|
![]() |
![]() |
![]() | |
edged_level (no post -auto-level)
|
![]() |
![]() |
![]() | |
layered_levels (no post -auto-level)
|
![]() |
![]() |
![]() | |
Miscellaneous | ||||
filaments
|
![]() |
![]() |
![]() |
If you have or come up with a nice background generator or image transform, please let me know so it can be added here to share with others.
Final Important Notes
The two Random Noise Images, being so 'random' are tilable, and we use "-virtual-pixels
" to
ensure that they remain tilable during the transformation. However the Plasma Image is not tilable to start with, so a
enlarged version with the edges "-shave
" off afterward is used to remove the unwanted edge effect
of many operations. These technique is discussed further in Modifying Tile Images.
Note that the final "-auto_level
" is applied to most images to enhance the contrast of
the results, unless the transform is marked as not requiring it so as to
preserve and coloring or shadings that resulted from the transformation.
Because many image transformations such as, "-blur
", "-emboss
", and "-edge
" are grey-scale
transformations, they work on the three color channels, completely
independently of each other. As a result, in many of the images, the result
looks like three separate images have been overlaid, then shaded.
The final example "layered_levels
" was designed to works on each
of the three levels simultaneously, while keeping them separate, until the
final step where they are added together and color tinted.
This triple effect can be removed by either applying an initial gray-scaling
operation, or extracting just one of the channels when finished. Typically I
extract the 'green
' or 'G
' channel as it is normally
the strongest channel in a grey scale image anyway, though any of the three
channels can be used.