25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
tdelibs/kimgio
Michele Calgaro 8f539c5a7c
cmake files: change keywords to lower case
2 ay önce
..
AUTHORS Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 yıl önce
CMakeLists.txt cmake files: change keywords to lower case 2 ay önce
ChangeLog Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 yıl önce
Mainpage.dox Removed code formatting modelines. 4 yıl önce
Makefile.am LIB_QT -> LIB_TQT conversion to align to updated admin module 6 yıl önce
README Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version 7 ay önce
bmp.kimgio Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 yıl önce
configure.in.in Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 yıl önce
dds.cpp Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version 7 ay önce
dds.h TQt conversion fixes 14 yıl önce
dds.kimgio Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 yıl önce
eps.cpp Rename additional header files to avoid conflicts with KDE4 11 yıl önce
eps.h Trinity Qt initial conversion 14 yıl önce
eps.kimgio Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 yıl önce
exr.cpp Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version 7 ay önce
exr.h TQt conversion fixes 14 yıl önce
exr.kimgio Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 yıl önce
g3.kimgio Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 yıl önce
g3r.cpp Trinity Qt initial conversion 14 yıl önce
g3r.h TQt conversion fixes 14 yıl önce
gif.kimgio Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 yıl önce
gimp.h Removed code formatting modelines. 4 yıl önce
hdr.cpp Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version 7 ay önce
hdr.h TQt conversion fixes 14 yıl önce
hdr.kimgio Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 yıl önce
ico.cpp Replaced various '#define' with actual strings - part 3 5 ay önce
ico.h TQt conversion fixes 14 yıl önce
ico.kimgio Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 yıl önce
jp2.cpp Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version 7 ay önce
jp2.h TQt conversion fixes 14 yıl önce
jp2.kimgio Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 yıl önce
jpeg.kimgio Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 yıl önce
mng.kimgio Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 yıl önce
pbm.kimgio Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 yıl önce
pcx.cpp Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version 7 ay önce
pcx.h Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version 7 ay önce
pcx.kimgio Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 yıl önce
pgm.kimgio Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 yıl önce
png.kimgio Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 yıl önce
ppm.kimgio Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 yıl önce
psd.cpp Remove additional unneeded tq method conversions 13 yıl önce
psd.h TQt conversion fixes 14 yıl önce
psd.kimgio Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 yıl önce
rgb.cpp Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version 7 ay önce
rgb.h Fix kdelibs FTBFS on native TQt3 13 yıl önce
rgb.kimgio Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 yıl önce
tga.cpp Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version 7 ay önce
tga.h TQt conversion fixes 14 yıl önce
tga.kimgio Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 yıl önce
tiff.kimgio Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 yıl önce
tiffr.cpp Remove additional unneeded tq method conversions 13 yıl önce
tiffr.h TQt conversion fixes 14 yıl önce
xbm.kimgio Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 yıl önce
xcf.cpp Replaced various '#define' with actual strings - part 3 5 ay önce
xcf.h Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version 7 ay önce
xcf.kimgio Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 yıl önce
xpm.kimgio Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 yıl önce
xv.kimgio Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 yıl önce
xview.cpp Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version 7 ay önce
xview.h TQt conversion fixes 14 yıl önce

README

KDE Image I/O library
---------------------
This library allows applications that use the Qt library
(i.e. QImageIO, TQImage, QPixmap and friends) to read and
write images in extra formats. Current formats include:

JPEG	<read> <write>
JPEG2000 <read> <write>
XV	<read> <write>
EPS	<read> <write>
NETPBM	<incomplete>
PNG	<read> <write, only with newer libraries>
TIFF	<read>
TGA	<read> <write>
PCX	<read> <write>
SGI	<read> <write>   (images/x-rgb: *.bw, *.rgb, *.rgba, *.sgi)
DDS	<read>
XCF	<read>

(Some example files are in kdenonbeta/kimgio_examples.)


To use these formats, you only need to:

1. link the application with the libtdeio library
2. Include the <kimageio.h> header
3. call KImageIO::registerFormats() once, somewhere in your code
   before you load an image.

Writing handlers
----------------

0. Please read the documentation for the QImageIO class in the Qt
documentation.

1. When writing handlers, there is a function naming convention;
suppose, for example, we were writing PNG read and write handlers,
we would name them

void kimgio_png_read ( QImageIO * );
void kimgio_png_write( QImageIO * );

ie

kimgio_<format>_<read/write>

This should reduce the chance of identifier clashes with other code.

2. Remember that a given KDE application may try to load dozens of
images at once such as when loading icons, or creating thumbnails.
Also, it may well be loading them over a network connection.
Therefore,

	- Avoid creating temporary files or allocating too much memory
	when decoding and encoding. Especially try to avoid firing off
	external programs.

	- Don't assume that the IODevice which is the source or target
	of the image data is pointing to a file on the local filesystem.
	Use the IODevice methods to read and write image data.

	- Check for file corruption or premature end of the image,
	especially before using values read from the file
	e.g. for memory allocations.

3. If you only have either a reader or the writer for a particular
format, don't use NULL in QImageIO::defineIOHandler. Instead, write
a stub function for the unimplemented handler which displays a message
on standard output. This prevents kimgio-using programs dumping core
when attempting to call the unimplemented handler.


Yours in good faith and pedantry,

Sirtaj Singh Kang <taj@kde.org>, 23 September 1998.