+++ /dev/null
-api: ewiki
-category: extension
-hooks: image_resize
-type: intercept
-config:
- EWIKI_IMGRESIZE_WIN=0
- EWIKI_IMAGE_MAX_PIXELS=11000000 //11 megapixels
- EWIKI_IMAGE_MAXSIZE=65536
- EWIKI_IMAGE_TOLERANCE=60000 //don't settle for smaller than this during resize
- EWIKI_WORK_AREA=640 //width of whitespace or work area within ewiki
- EWIKI_IMAGE_MAX_Y=1000 //max y value if picture is "candy cane"
- EWIKI_IMAGE_RATIO=10 //maximum acceptable y:x ratio
-title: imgresize_gd2
-description: refined algorithm for downscaling uploaded images
-priority: bonus