On 24/02/2010, at 07:58, Peter Speck wrote:
> I sometimes get the error message:
> Error TIFFICC: Couldn't allocate 4643718666205004336 bytes for profile.
Patch for 1.19, the bug is already fixed in 2.0-beta1 as it uses
cmsUInt32Number integer type instead of DWORD.
--- tifficc/old-tifficc.c 2010-02-25 03:46:21.000000000 +0100
+++ tifficc/tifficc.c 2010-02-25 03:46:35.000000000 +0100
@@ -849,7 +849,7 @@
LPGAMMATABLE Gamma[3];
LPWORD gmr, gmg, gmb;
cmsHPROFILE hProfile;
- DWORD EmbedLen;
+ uint32 EmbedLen;
LPBYTE EmbedBuffer;
The length argument to TIFFGetField(TIFFTAG_ICCPROFILE) must be 32-bit integer,
and DWORD is 64-bit.
----
- Peter Speck
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Lcms-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lcms-user