org.hd.d.pg2k.webSvr.bgImg
Interface BgImageUtils.DynImageGen

All Known Implementing Classes:
BgImageUtils.SimpleUniformMonoImageGen, BgImageUtils.SimpleUniformNoiseMonoImageGen, BgImageUtils.Sine2DColourImageGen
Enclosing class:
BgImageUtils

public static interface BgImageUtils.DynImageGen

Functor/interface for dynamic background image generator. Generates a BufferedImage with the dimensions of a large thumbnail, suitable to use as a background image.

The simage will be relatively small (in bytes) and suitable to read black text again (will be fairly light colour).


Method Summary
 java.awt.image.BufferedImage createImage(int seed)
          Generate simple random monochrome BufferedImage with values uniformly distributed between max and min Y.
 

Method Detail

createImage

java.awt.image.BufferedImage createImage(int seed)
Generate simple random monochrome BufferedImage with values uniformly distributed between max and min Y. This routine may alter the nature of the output based on the seed, which should ideally be distributed evenly across all possible values, like a hashCode.


DHD Multimedia Gallery V1.60.69

Copyright (c) 1996-2012, Damon Hart-Davis. All rights reserved.