The K Desktop Environment

Next Previous Table of Contents

4. ToDo List

  1. This program is designed to be run from the command line (to facilitate batch processing), and therefore does not use calls to the windowing system. If you want to use some of the neat image-processing capabilities offered by QT under a windowing system, define X_CLIENT during compilation. Then you can create a QPixmap widget (which requires creation of a QApplication widget, which requires a windowing system at run-time) and then can write code to replace the pixel-by-pixel copy in the "Delete region" code and to replace the label-writing code that relies on the gd library. I don't know whether these changes would save a lot of execution time, and besides CPU cycles are cheap these days.

Next Previous Table of Contents