| ecg2png converts scanned 12-lead electrocardiograms (ECGs) into PNG format and a web-friendly image size. The problems this program solves are that an ECG scanned at relatively high resolution puts a large memory load on the Web browser because it contains about 6 million color pixels. Also, typical scanners convert a clean paper ECG into many colors, not just red, black, and white. The resulting file cannot be compressed efficiently and takes more time to transmit over low-speed network connections. This program shrinks the image while preserving the signal and cleans up the color map, yielding a bitmap that is well-suited for Web-based distribution of ECG images. |