Windows; Update KDU to 8.2

meow-7.2.2
Nicky 2021-08-23 17:55:59 +02:00
parent b6c1e98b3e
commit b2569a06e6
2 changed files with 9 additions and 4 deletions

View File

@ -1956,9 +1956,9 @@
<key>archive</key>
<map>
<key>hash</key>
<string>1cd284c85b5f05fff6b286e85b55ebf2</string>
<string>e88372fa10b83c6900443dcc12c12338</string>
<key>url</key>
<string>file:///c:/cygwin/opt/firestorm/kdu-8.1-windows-210862059.tar.bz2</string>
<string>file:///c:/cygwin/opt/firestorm/kdu-8.2-windows-212351246.tar.bz2</string>
</map>
<key>name</key>
<string>windows</string>
@ -1968,9 +1968,9 @@
<key>archive</key>
<map>
<key>hash</key>
<string>1cd284c85b5f05fff6b286e85b55ebf2</string>
<string>e88372fa10b83c6900443dcc12c12338</string>
<key>url</key>
<string>file:///c:/cygwin/opt/firestorm/kdu-8.1-windows-210862059.tar.bz2</string>
<string>file:///c:/cygwin/opt/firestorm/kdu-8.2-windows-212351246.tar.bz2</string>
</map>
<key>name</key>
<string>windows64</string>

View File

@ -321,7 +321,12 @@ void LLImageJ2CKDU::setupCodeStream(LLImageJ2C &base, bool keep_codestream, ECod
// *TODO: This seems to be wrong. The base class should have no idea of
// how j2c compression works so no good way of computing what's the byte
// range to be used.
#if (KDU_MAJOR_VERSION*10000 + KDU_MINOR_VERSION*100 + KDU_PATCH_VERSION) >= 80200
mCodeStreamp->set_max_bytes(max_bytes, false);
#else
mCodeStreamp->set_max_bytes(max_bytes,true);
#endif
// If you want to flip or rotate the image for some reason, change
// the resolution, or identify a restricted region of interest, this is