Patent ID: 11924390
Assignee: CANON KABUSHIKI KAISHA
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 10:
11. A non-transitory computer-readable storage medium storing a program that, when executed by a controller of an apparatus having a scanner that scans an image on a document to generate image data to be used in color reduction processing and a network interface, causes the controller to perform a method, the method comprising:
performing the color reduction processing for quantizing a color in the generated image data;
changing, in a case where brightness of an edge pixel indicating an edge portion in an image based on the image data with the color quantized is equal to or higher than a threshold value, a pixel value of the edge pixel to a pixel value of a color of a pixel having highest brightness among pixels surrounding the edge pixel, and changing, in a case where the brightness of the edge pixel is lower than the threshold value, the pixel value of the edge pixel to a pixel value of a color of a pixel having lowest brightness among the pixels surrounding the edge pixel;
compressing the image data in which the pixel value of the edge pixel is changed by the changing while dividing the image data by color; and
transmitting the generated image data using the network interface via a network, and
printing decompressed image data of the compressed image data via a printer.