hooks for dealing with Image::$maxPixels in BetterImage