PKGBUILDs/community/amsn/amsn-jpeg7.patch
2009-10-09 21:15:33 -05:00

10 lines
393 B
Diff

--- utils/TkCximage/src/CxImage/ximajpg.cpp.orig 2009-07-18 05:29:43.000000000 -0300
+++ utils/TkCximage/src/CxImage/ximajpg.cpp 2009-07-18 05:30:31.000000000 -0300
@@ -142,6 +142,7 @@
*/ //</DP>
// Set the scale <ignacio>
+ SetJpegScale(8); // Set an initial value (FIX for jpeg-7)
cinfo.scale_denom = GetJpegScale();
// Borrowed the idea from GIF implementation <ignacio>