How can I use Python to layout a page of images efficiently? or What’s the best way to use Python to

16 Replies, 1455 Views

If you’re lazy (like me), `scikit-image`’s `montage` function is golden. One-liner to arrange images in a grid.

```python
from skimage.util import montage
grid = montage([img1, img2, img3, img4])
```

Messages In This Thread



Users browsing this thread: 1 Guest(s)