Always pass output format to externals
Added crop.Triangle function