Patent ID: 8867795

Claim:
An apparatus comprising: a processor; and a memory configured to store computer-readable instructions that, when executed by the processor, cause the apparatus to perform steps comprising: calculating, based on image data of an image that is an aggregation of a plurality of pixels, a first angle characteristic and an intensity of the first angle characteristic with respect to each of the plurality of pixels, wherein the first angle characteristic is information indicating a direction in which continuity of a color in the image is high, and the intensity is information indicating a magnitude of change of the color; arranging a first line segment in a position that corresponds to a first pixel based on the calculated first angle characteristic, wherein the first pixel is a pixel whose calculated intensity is equal to or more than a threshold value, among the plurality of pixels; calculating a second angle characteristic of a second pixel based on the first angle characteristic of at least one pixel adjacent to the second pixel, wherein the second pixel is a pixel whose calculated intensity is smaller than the threshold value, among the plurality of pixels; acquiring information indicating a third angle characteristic, wherein the third angle characteristic is an angle characteristic set in advance; calculating a fourth angle characteristic based on the calculated second angle characteristic and on the third angle characteristic indicated by the acquired information; arranging a second line segment in a position that corresponds to the second pixel based on the calculated fourth angle characteristic; and creating, as embroidery data, data indicating at least stitches that respectively correspond to the arranged first line segment and the arranged second line segment.