https://bugzilla.wikimedia.org/show_bug.cgi?id=32387

--- Comment #11 from PlusPedia <bugzi...@pluspedia.de> 2012-11-25 00:17:21 UTC 
---
If This is a duplicate of the bug: 42342:

Meanwhile I found the solution.

$wgMaxImageArea = 1.25e7; is too small.

My first Solution:
LocalSettings.php:
 $wgMaxImageArea = $wgMaxImageArea * 100 


Background File: Bitmap.php:

Til 18.4 (incl.):

        if ( $mimeType !== 'image/jpeg' &&
            $srcWidth * $srcHeight > $wgMaxImageArea )
        {
            return false;
        } 


Since 19.0:

            if ( $srcWidth * $srcHeight > $wgMaxImageArea &&
                    !( $image->getMimeType() == 'image/jpeg' &&
                        self::getScalerType( false, false ) == 'im' ) ) {
                # Only ImageMagick can efficiently downsize jpg images without
loading
                # the entire file in memory
                return false;
                  }

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to