Convert ThreePatch to NinePatch.