An image forming device includes a plurality of holding units that holds
data of pixels around a target pixel, a weight generating unit that
generates a weight for each holding unit, a plurality of weight applying
units that applies a corresponding weight to the data held by each
holding unit, and a control unit that determines an exposing energy for
the target pixel in accordance with an output of each weight applying
unit.