Patent ID: 7280234

Claim:
An image processing device for creating, based on a drawing command, drawing data to be used for forming an image while scanning in a main scanning direction, the image processing device comprising: storage means prestored with a predetermined first reference value; command receiving means for receiving drawing commands in succession; graphic determination means for determining whether or not a graphic pattern to be drawn by each drawing command has a predetermined shape; graphic width determination means for determining, when the graphic determination means determines that the graphic pattern has the predetermined shape, whether or not a width of the graphic pattern in a main scanning direction is less than or equal to the first reference value; graphic pattern determination means for holding the drawing command when the graphic width determination means determines that the width of the corresponding graphic pattern is less than or equal to the first reference value, and, determining, when the graphic pattern determination means holds a plurality of drawing commands, whether or not the graphic patterns indicated by the plurality of drawing commands constitute an array pattern, in which the corresponding graphic patterns are arranged consecutively in the main scanning direction; command conversion means for converting, when the graphic pattern determination means determines that the plurality of graphic patterns indicated by the plurality of drawing commands constitute the array pattern, the plurality of drawing commands into one or more secondary drawing command to draw one or more secondary graphic pattern, the one or more secondary graphic pattern being defined by combining the plurality of graphic patterns together in the main scanning direction; and drawing data generation means for generating, based on the one or more secondary drawing command, drawing data to be used for forming the one or more secondary graphic pattern while scanning in the main scanning direction.