By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 1560
Collapse All | Expand All

(-)./tools/qvfb/qanimationwriter.cpp.ori (+8 lines)
Lines 101-107 Link Here
101
101
102
    void writePNG(const TQImage& image)
102
    void writePNG(const TQImage& image)
103
    {
103
    {
104
#if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=5 )
105
#warning XXXtnn not too sure about this
106
/* 
107
according to png.h, channels is only used on read, not writes, so we
108
should be able to comment this out.
109
*/
110
#else /* LIBPNG 1.5 */
104
	info_ptr->channels = 4;
111
	info_ptr->channels = 4;
112
#endif
105
	png_set_sig_bytes(png_ptr, 8); // Pretend we already wrote the sig
113
	png_set_sig_bytes(png_ptr, 8); // Pretend we already wrote the sig
106
	png_set_IHDR(png_ptr, info_ptr, image.width(), image.height(),
114
	png_set_IHDR(png_ptr, info_ptr, image.width(), image.height(),
107
	    8, image.hasAlphaBuffer()
115
	    8, image.hasAlphaBuffer()

Return to bug 1560