On Wed, Nov 2, 2011 at 10:08 PM, Rob Lanphier robla@wikimedia.org wrote:
Step 1: Deploy VipsScaler extension, but only use it for PNGs over 12.5MP and/or TIFFs (which currently generate errors). Let this sit in production a while, fixing any bugs we find with this configuration.
I should note that PagedTiffHandler currently does support vips, but only unconditionally; we can't choose to only scale images with vips that are currently too large. If tiff support is to be enabled in the first step, then PagedTiffHandler should somehow be interfacing with VipsHandler, which does allow conditional scaling.
It should not be that much of a problem to add conditional use of vips to PagedTiffHandler. But I need to understand this a bit better :) So images that are bigger than a given threshold size (say, $wgPagedTiffHandlerUseVipsMinSize) should use vips as a scaler, below that threshold imagemagick should be used? Or can this value be determined dynamically from the vips handler?
Markus (mglaser)
_______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l