📄 qpngimagepacker.3qt
字号:
'\" t.TH QPNGImagePacker 3qt "24 January 2005" "Trolltech AS" \" -*- nroff -*-.\" Copyright 1992-2001 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.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.BR http://www.trolltech.com/faq/tech.html.SH COPYRIGHTCopyright 1992-2001 Trolltech AS, http://www.trolltech.com. See thelicense file included in the distribution for a complete licensestatement..SH AUTHORGenerated automatically from the source code..SH BUGSIf you find a bug in Qt, please report it as described in.BR http://doc.trolltech.com/bughowto.html .Good bug reports make our job much simpler. Thank you..PIn case of content or formattting problems with this manual page, pleasereport them to.BR qt-bugs@trolltech.com .Please include the name of the manual page (qpngimagepacker.3qt) and the Qtversion (2.3.10).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -