If step ≥ patch_width there is no overlap between patches in the same column. If step ≥ patch_height there is no overlap between patches in the same row. step defines the distance between one patch and the next one (vertically and horizontally).It’s not required to define a square patch, even a rectangular patch can be defined. patch_shape is the shape of each patch, (patch_height, patch_width) or (patch_height, patch_width, N).image is a NumPy array with shape (image_height, image_width) for grayscale images or (image_height, image_width, N) for N-channels images ( 3 if RGB).Send any photo to PhotoSplit app from the iPhone Photo Gallery and other apps directly through Share widget.To call it use: patchify(image, patch_shape, step).If you like, save split images to photo library and post from within the Instagram app.
PhotoSplit lets you slice any photo into a 1x2, 1x3, 2x3, 3x3 & 4x3 grid while keeping it in high resolution. PhotoSplit is the most popular app to split your photos to the grid and post them directly to Instagram.