PKGBUILDs/community/amsn/amsn-jpeg7.patch

11 lines
393 B
Diff
Raw Normal View History

2009-10-10 02:15:33 +00:00
--- 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>