You can buy this project and download/modify it how often you want.
Pattern Region Test, B patterns, preserveAspectRatio yMin yMid yMax xMin xMid xMax meet slice none none