qpngimagepacker.3qt
来自「Qt/Embedded是一个多平台的C++图形用户界面应用程序框架」· 3QT 代码 · 共 50 行
3QT
50 行
.TH QPNGImagePacker 3qt "10 November 2000" "Trolltech AS" \" -*- nroff -*-.\" Copyright 1992-2000 Trolltech AS. All rights reserved. See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQPNGImagePacker \- Creates well-compressed PNG animations.SH SYNOPSIS.br.PP\fC#include <qpngio.h>\fR.PPInherits QPNGImageWriter..PP.SS "Public Members".in +1c.ti -1c.BI "\fBQPNGImagePacker\fR ( QIODevice *, int " "depth" ", int convflags ) ".br.ti -1c.BI "void \fBsetPixelAlignment\fR ( int x ) ".br.ti -1c.BI "bool \fBpackImage\fR ( const QImage & img ) ".br.in -1c.SH DESCRIPTIONCreates well-compressed PNG animations..PPBy using transparency, QPNGImagePacker allows you to build a PNG image from a sequence of QImages..SH MEMBER FUNCTION DOCUMENTATION.SH "QPNGImagePacker::QPNGImagePacker ( QIODevice * iod, int storage_depth, int conversionflags )"Create an image packer that writes PNG data to \fIiod,\fR using a \fIstorage_depth\fR bit encoding (use 8 or 32, depending on the desired quality and compression requirements)..SH "bool QPNGImagePacker::packImage ( const QImage & img )"Add the image \fIimg\fR to the PNG animation, analyzing the differences between this and the previous image to improve compression..SH "void QPNGImagePacker::setPixelAlignment ( int x )"Align pixel differences to \fIx\fR pixels. For example, using 8 canimprove playback on certain hardware. Normally the default of 1-pixelalignment (ie. no alignment) gives bets compression and performance..SH "SEE ALSO".BR http://doc.trolltech.com/qpngimagepacker.html.SH COPYRIGHTCopyright 1992-2000 Trolltech AS, http://www.trolltech.com/. See thelicense file included in the distribution for a complete licensestatement..SH AUTHORGenerated automatically from the source code.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?