1、 i 基于 QT 的图像格式转换器设计与实现 摘 要 在 linux,windows 不同平台,利用 QT 开发工具,实现了对本地图像进行格式转化 功能。设计的图像转化软件,具备了一些基本的图像操作,包括查看图片、放大图片、 缩小图片、前一张、后一张、图像转化和新建截图等功能。利用 QT 实现代码复用。使 得该软件操作简便,界面整洁。 在 Linux 系统嵌入式环境下基于 QT 的图像转化设计更具有实用价值。本设计是在 Linux 和 windows 下使用 QT 技术进行 GUI 设计,利用 QTCreator 软件编程实现一个图 形界面,完成一个简单的图像转化的设计。该设计基于 QT 集成
2、开发环境,利用系统的 函数接口来编程、具有体积小、支持的格式多、系统占用资源少、支持各种常用格式的 转化等功能,还可以实现代码复用,实现跨平台的效果。 此次开发设计在Windows 7系统 和Ubuntu12.04下, 以C+为开发语言, 在Qt 4.7.4 开发平台上。通过对其开发,深入了解 QT 开发软件的流程和其强大功能,为后来使用 者起借鉴作用。 关键词:不同平台;图形用户界面;QT;代码复用 ii Design and implementation of image format converter based on QT ABSTRACT In Linux, windows pla
3、tform, using QT development tools, implementation of the native image format conversion function. Image conversion software design, has some of the basic operation of the image, including view pictures, enlarge, narrow, a picture before, after a, image transformation and new screenshots and other fu
4、nctions. Reuse code by using QT. The software is easy to operate, clean interface. In the embedded Linux system environment design of image transformation based on QT and has more practical value. This design is a GUI design using QT technology in Linux and windows, the realization of a graphical in
5、terface using QTCreator software programming, to complete a simple image transforming design. The design of the QT integrated development environment based on, programming, has the advantages of small volume, support playback function format conversion, the system takes fewer resources, support a va
6、riety of commonly used format using the function interface system and Can also achieve code reuse, to achieve cross platform effect. The development of design in the Windows 7 system and Ubuntu12.04, which is developed by C+ language, in the Qt 4.7.4 development platform. Through its development, in-depth understanding of QT software development process and its powerful functions for later reference, user. Keywords: different platform; graphic user interface; QT; code reuse iii 目 录 摘 要 . i Abs