The invention discloses a pixel extraction and
conversion method of an LEN format image, and belongs to the technical field of
digital image processing. In order to solve the technical problems that the LEN format has no public specification and general
software cannot read data, binary analysis is carried out through an LEN sample, and the core binary
layout of a file is found for the first time: the image width and height are stored in specified offset positions, and a small-end
byte order is adopted; pixel data comprises a compressed
data segment and a row information segment, and an RLE coding rule is adopted. The method comprises the following steps: acquiring an LEN format file; analyzing the file header to obtain an image size; performing segmented analysis on the image data; synthesizing the analyzed data into image data; and packaging the
pixel matrix into a standard TIFF format file. The LEN core binary
layout is disclosed for the first time, zero
distortion and cross-platform conversion are achieved, reading and storage of screening parameters are not involved at all, existing patents are effectively avoided, and the method can be used for preview, filing and third-party
system integration in the flexographic printing process.