Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2
imlib
imlib-tiff_output.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File imlib-tiff_output.diff of Package imlib
--- gdk_imlib/io-tiff.c +++ gdk_imlib/io-tiff.c @@ -24,7 +24,7 @@ fd = fileno(f); /* Apparently rewind(f) isn't sufficient */ - lseek(fd, (long) 0, 0); + lseek(fd, (off_t) 0, SEEK_SET); /* So why does libtif need a filename here ??? */ tif = TIFFFdOpen(fd, file, "r"); @@ -109,7 +109,8 @@ TIFFSetField(tif, TIFFTAG_ORIENTATION, ORIENTATION_TOPLEFT); TIFFSetField(tif, TIFFTAG_BITSPERSAMPLE, 8); TIFFSetField(tif, TIFFTAG_PLANARCONFIG, PLANARCONFIG_CONTIG); - TIFFSetField(tif, TIFFTAG_COMPRESSION, COMPRESSION_LZW); + /* LZW can't be used due to patent issues */ + TIFFSetField(tif, TIFFTAG_COMPRESSION, COMPRESSION_DEFLATE); { TIFFSetField(tif, TIFFTAG_SAMPLESPERPIXEL, 3); TIFFSetField(tif, TIFFTAG_PHOTOMETRIC, PHOTOMETRIC_RGB);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor