<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><div data-html-editor-font-wrapper="true" style="font-family: arial, sans-serif; font-size: 13px;">Hi<br><br>I talked about this at the foss4g 2 years ago and shared a bash script where I do exactly what you are asking for. I don't know if you consider it to be easy, but<br>the example is this script: <a href="https://gist.github.com/LarsSchy/9ecb31eb964dd83820c139b2f2769a7c">https://gist.github.com/LarsSchy/9ecb31eb964dd83820c139b2f2769a7c</a><br><br>Look at the function: <span class="pl-en">retile_with_mask() in the script. The script is doing other things as well like creating a tile index for Mapserver usage and trimming the tiles from nodata parts.<br><br>Have fun / Lars S.</span><br><br><br>11 november 2021 kl. 15:46, "Lorenzo Di Giacomo" <<a target="_blank" tabindex="-1" href="mailto:loridigia@gmail.com?to=%22Lorenzo%20Di%20Giacomo%22%20<loridigia@gmail.com>">loridigia@gmail.com</a>> skrev:<br> <blockquote><div><div><div dir="ltr">Hi, i can't find a simple way (not to choose the cut coordinates manually) in order to crop an entire raster image into N images given a fixed size of pixel, how can this be achieved? Thanks</div></div></div></blockquote> <br><br><signature></signature> </div></body></html>