One split button is not one cut repeated twelve times. It is ninety-nine new files, and the format you save those files in decides whether your original pixels survive the trip.
Twelve files went in, eleven decoded, and each produced nine tiles: 99 tiles per output path, 297 tile files across three settings. The crop boundaries conserved all 63,016,384 source pixels, so pasting the PNG tiles back gave 0 differing pixels. The same tiles saved in each input's own format changed 24,958,150 pixels, 39.606% of the batch. Forcing every tile to JPEG changed 31,825,971, 50.504%. Lossless PNG tiles cost 51,203,020 bytes, 2.446 times the input. One truncated JPEG was skipped without a warning.
This page is about what happens to the files, not about which grid to pick. For operations that keep one file per input, the batch grayscale measurement, the batch invert measurement and the batch rotate measurement used the same twelve files. For the opposite direction, many files into one new image, the batch merge measurement is a separate operation with a separate byte bill.
Twelve files, 20,934,926 bytes on disk, 63,016,384 pixels across the eleven that decoded: six JPEGs (one truncated), four PNGs, one six-frame GIF, one lossy WebP. Each readable file was cut into a 3 x 3 grid, one output file per tile. Where a dimension did not divide by three, the extra columns or rows went to the last tile in that direction, so no pixel was dropped. Crop boxes are half-open: the right and lower coordinates are excluded, and adjacent tiles meet exactly at the boundary.
Three output settings were run on the same 99 crops. PNG saved every tile as lossless PNG. Same as input saved each tile in its own source format, JPEG at quality 90, WebP at quality 80, PNG as PNG, GIF as GIF. JPEG forced every tile to JPEG quality 90, converting modes that JPEG cannot hold. For each setting the tiles were reopened from disk and pasted back onto an empty image of the original size, then compared pixel by pixel against the decoded source.
Image.crop((left, top, right, bottom)) with remainder assigned to the last row and column. The run used Pillow 13.0.0, numpy 2.5.4 and Python 3.13.14 on local files.Eleven files produced nine tiles each. The twelfth, a 1,200-byte file claiming to be a 3000 x 4000 JPEG, failed with image file is truncated (2 bytes not processed) and contributed nothing. No error was raised to the caller that counts the outputs, so a folder of a hundred images with a few corrupt ones quietly produces fewer tile sets. The loaded inputs totaled 20,933,726 bytes; the 1,200-byte difference is the broken file.
| File | Size | Tile sizes | Input bytes | PNG tiles | Same-format tiles |
|---|---|---|---|---|---|
| animation.gif | 400 x 300 | 133 x 100 (6), 134 x 100 (3) | 5,339 | 1,086 | 2,579 |
| duplicate_photo.jpg | 3000 x 4000 | 1000 x 1333 (6), 1000 x 1334 (3) | 2,443,475 | 10,849,925 | 2,249,180 |
| exif_orient6.jpg | 2000 x 1500 | 666 x 500 (6), 668 x 500 (3) | 703,335 | 2,917,614 | 650,651 |
| gray_16bit.png | 800 x 600 | 266 x 200 (6), 268 x 200 (3) | 12,042 | 18,225 | 18,225 |
| gray_8bit.jpg | 3000 x 4000 | 1000 x 1333 (6), 1000 x 1334 (3) | 2,068,147 | 3,902,122 | 1,933,395 |
| logo_alpha.png | 1200 x 800 | 400 x 266 (6), 400 x 268 (3) | 8,367 | 11,224 | 11,224 |
| photo_landscape.jpg | 4000 x 3000 | 1333 x 1000 (6), 1334 x 1000 (3) | 2,403,704 | 10,996,311 | 2,239,182 |
| photo_portrait.jpg | 3000 x 4000 | 1000 x 1333 (6), 1000 x 1334 (3) | 2,443,475 | 10,849,925 | 2,249,180 |
| photo_square.png | 3000 x 3000 | 1000 x 1000 (9) | 10,636,840 | 10,289,721 | 10,289,721 |
| screenshot.webp | 1600 x 900 | 533 x 300 (6), 534 x 300 (3) | 186,788 | 1,344,261 | 179,284 |
| small_icon.png | 128 x 128 | 42 x 42 (4), 44 x 42 (2), 42 x 44 (2), 44 x 44 (1) | 22,214 | 22,606 | 22,606 |
| broken.jpg | claims 3000 x 4000 | failed to decode | 1,200 | 0 | 0 |
The two byte-identical portrait JPEGs produced 9 of 9 byte-identical PNG tile pairs at 10,849,925 bytes per set. That is a determinism check, not a coincidence: the crop coordinates and the encoder are the same for both.
Only one file, the 3000 x 3000 square, divided evenly and produced nine identical 1000 x 1000 tiles. The other ten, 90.909% of the readable batch, produced at least two different tile sizes. A 4000 x 3000 photo has a base column of 1333 pixels and one leftover column, so six tiles are 1333 x 1000 and three are 1334 x 1000. A 2000 x 1500 photo leaves two columns, giving 666 x 500 and 668 x 500. The 128 x 128 icon leaves two pixels on each axis and produces four distinct tile sizes at once.
Unequal tiles are correct behaviour, not a rounding error. Assigning the remainder to the last tile is what keeps the sum of tile areas exactly equal to the source area: 63,016,384 tile pixels against 63,016,384 source pixels. A splitter that divides by three and discards the remainder would lose one or two columns or rows on most real photographs.
Two leftover pixels on each axis land in the last column and last row, so the bottom-right tile is the only 44 x 44 piece.
Cutting is exact; saving is not. The 99 PNG tiles, reopened from disk and pasted back into position, reproduced all eleven source images with 0 differing pixels. The same crops saved in each input's own format produced 24,958,150 differing pixels, 39.606% of the 63,016,384-pixel batch, because JPEG and WebP re-encode their tiles. Forcing every tile to JPEG quality 90 produced 31,825,971 differing pixels, 50.504% of the batch.
Per file the loss is uneven. The two portrait photographs changed 50.043% of their pixels under both lossy settings, the 128 x 128 icon changed 76.813% under forced JPEG, and the files that stayed as PNG changed none. A claim that splitting keeps every source pixel is true about the geometry and false about the saved bytes as soon as a lossy format is chosen.
| Output setting | Tile files | Total bytes | Times the input | Differing pixels on reassembly | Share of batch |
|---|---|---|---|---|---|
| PNG (lossless) | 99 | 51,203,020 | 2.446 | 0 | 0% |
| Same as input | 99 | 19,845,227 | 0.948 | 24,958,150 | 39.606% |
| Forced JPEG q90 | 99 | 11,787,438 | 0.563 | 31,825,971 | 50.504% |
Geometry loses nothing. Re-encoding is what changes pixels, and the amount depends on the format.
The 99 PNG tiles totaled 51,203,020 bytes against 20,934,926 bytes of input, a 144.582% increase. Photographs are the reason: a 2,403,704-byte landscape JPEG became 10,996,311 bytes of PNG tiles, 4.575 times its input. The two portrait photographs accounted for 4,886,950 input bytes, 23.344% of the batch, but 21,699,850 PNG tile bytes, 42.38% of the output. Every JPEG re-encoded as lossless PNG pays that cost nine times over.
Two files went the other way. The 3000 x 3000 PNG, already lossless, shrank 3.263% to 10,289,721 bytes because nine separate PNG streams compressed slightly better than one large one. The six-frame GIF fell 79.659% to 1,086 bytes because only its first frame was cut. The other two settings were cheaper than the input: same-as-input landed at 19,845,227 bytes, down 5.205%, and forced JPEG at 11,787,438 bytes, down 43.695%.
Bars scaled to the largest total, 51,203,020 bytes. The lossless path is the only one that grows the batch.
A 20-pixel overlap on both axes of a 4000 x 3000 photo still produces nine tiles, but their combined area is 12,281,600 pixels against 12,000,000 source pixels: 281,600 duplicated pixels, 2.347% of the source. Each interior column and row shares a strip with its neighbour, and every shared pixel is written to disk twice. Those nine PNG tiles totaled 11,324,132 bytes.
Overlap is a stitching aid, not extra resolution. It changes the tile boundaries without changing the source, so any downstream step that counts pixels across tiles will overcount by exactly the duplicated area.
Splitting by a fixed block size is a different arithmetic. On the 4000 x 3000 photo, 1000 x 1000 blocks divide evenly and produce 12 tiles with no partial piece, totaling 10,904,214 PNG bytes. On a 2000 x 1500 photo, 700 x 700 blocks produce nine tiles, five of them partial: four 700 x 700, two 600 x 700, two 700 x 100 and one 600 x 100. Those nine tiles still sum to 3,000,000 pixels, exactly the source, and totaled 2,914,839 bytes.
| Mode | Source | Block | Tiles | Partial tiles | PNG bytes |
|---|---|---|---|---|---|
| Equal-quantity grid | 4000 x 3000 | 3 x 3 | 9 | 0 | 10,996,311 (PNG path) |
| Fixed blocks, divisible | 4000 x 3000 | 1000 x 1000 | 12 | 0 | 10,904,214 |
| Fixed blocks, remainder | 2000 x 1500 | 700 x 700 | 9 | 5 | 2,914,839 |
| Grid with overlap | 4000 x 3000 | 3 x 3, 20 px | 9 | 9 shared strips | 11,324,132 |
The equal-quantity grid figure is that file's share of the PNG output path, not a separate run; the other three rows are separate single-file runs.
The 1200 x 800 transparent logo had 607,580 fully transparent pixels out of 960,000, 63.29% of the image, with no partial alpha and only two alpha levels. All 607,580 transparent pixels were still transparent across the nine PNG tiles, and every tile stayed in RGBA mode. Forced-JPEG tiles came back in RGB mode with no alpha channel at all, which is why 65.943% of that file's pixels differed on reassembly: the hidden colour under the transparent area is exposed once alpha is discarded.
The 800 x 600 16-bit grayscale PNG held 65,536 distinct values from 0 to 65,535. PNG tiles stayed in I;16 mode and still held all 65,536 levels across the nine tiles. Forced-JPEG tiles came back in L mode with 225 distinct values present; the format offers 256 levels instead of 65,536, a 99.609% reduction in available depth. The six-frame 400 x 300 GIF produced one still frame per tile, losing five frames. The 2000 x 1500 JPEG carried EXIF Orientation=6, but its first PNG tile had 0 EXIF tags, so the tag that told a viewer to rotate the picture was gone.
The eleven-file run took 8,811.32 ms for the crop and save work across all three output paths. Cropping the 99 tiles took 107.38 ms, 1.219% of the total; writing 297 tile files took 8,703.94 ms, 98.781%. Saving cost 81.057 times as much as cutting. The expensive part of a batch split is encoding many small files, not computing their coordinates.
A full rerun of the PNG path produced byte-identical output: SHA-256 787f8b2bba5df581 for both runs. The two byte-identical portrait photographs also produced 9 of 9 byte-identical tile pairs. Nothing in the crop arithmetic is random.
The batch was split on a local machine with Pillow. A browser-based splitter will produce different timings and probably different byte counts, depending on its encoder and quality defaults. Broken-file behaviour is specific to Image.open; a browser decoder may fail differently on truncation. Only a 3 x 3 equal-quantity grid, one 20-pixel overlap and two fixed block sizes were tested; other row and column counts, other overlaps, and quality values other than JPEG 90 and WebP 80 were not. Reassembly compared decoded pixels against the decoded source, not against the original compressed bytes. Colour profiles, metadata other than the orientation tag, and archive packaging were not measured. The GIF was cut from its first frame only; splitting every frame of an animation was not tested.
The grid itself does not, but the format you save the tiles in does. In our batch, twelve files became 99 tiles and the crop boundaries conserved all 63,016,384 source pixels: pasting the PNG tiles back produced 0 differing pixels on all eleven readable files. Saving those same tiles in each input's own format changed 24,958,150 pixels, 39.606% of the batch, because JPEG and WebP re-encode. Forcing every tile to JPEG quality 90 changed 31,825,971 pixels, 50.504%. Lossless PNG tiles cost 51,203,020 bytes, 2.446 times the 20,934,926-byte input.
Yes, but the files do not all arrive. Our run submitted twelve files, 20,934,926 bytes; eleven decoded and each produced nine tiles, so 99 tiles came out. The twelfth was a 1,200-byte truncated JPEG that failed with the error image file is truncated (2 bytes not processed) and was skipped with no warning. Count the inputs and count the tile sets.
Because most image dimensions are not divisible by three. In our eleven readable files, ten produced tiles of at least two different sizes; only the 3000 x 3000 square gave nine identical 1000 x 1000 tiles. A 4000 x 3000 photo yields six 1333 x 1000 tiles and three 1334 x 1000 tiles; the extra column goes to the last piece. A 128 x 128 icon yields four distinct sizes: 42 x 42, 44 x 42, 42 x 44 and 44 x 44. Crop boundaries are half-open, so no pixel is lost: tile areas summed to 63,016,384, exactly the source total.
Only if the tiles stay in a format that has an alpha channel. Our 1200 x 800 logo had 607,580 fully transparent pixels out of 960,000, 63.29% of the image, with no partial alpha. All 607,580 transparent pixels were still transparent across the nine PNG tiles, and every tile stayed in RGBA mode. The forced-JPEG tiles were RGB, with no alpha channel at all.
PNG tiles keep it, JPEG tiles do not. Our 800 x 600 16-bit grayscale file held 65,536 distinct values from 0 to 65,535. Saved as PNG, the nine tiles stayed in I;16 mode and still held all 65,536 levels. Saved as JPEG, the tiles came back in L mode with 225 distinct values present, and the format offers only 256 levels instead of 65,536, a 99.609% reduction in available depth.
Only the first frame is cut. Our 400 x 300 GIF had six frames. Each PNG tile came back as a single still frame, so five frames were lost per tile. The nine PNG tiles totaled 1,086 bytes against the 5,339-byte input, a 79.659% drop, because five frames of animation were discarded.
The orientation tag does not survive the save. Our 2000 x 1500 JPEG carried EXIF Orientation=6. The first PNG tile had 0 EXIF tags and no orientation value, so a viewer that used the tag to rotate the original has nothing left to rotate the tile with. Crop coordinates are computed on the stored pixel array, not on the rotated display.
A 20-pixel overlap on a 4000 x 3000 photo split into nine tiles produced 12,281,600 tile pixels from 12,000,000 source pixels: 281,600 duplicated pixels, 2.347% of the source. The nine PNG tiles totaled 11,324,132 bytes. Overlap is not free pixels; each shared strip is stored twice.
Our eleven-file run took 8,811.32 ms for crop and save work across three output paths, of which 107.38 ms, 1.219%, was cropping and 8,703.94 ms, 98.781%, was writing 297 tile files. Saving cost 81.057 times as much as cutting. A full rerun of the PNG path produced byte-identical output: SHA-256 787f8b2bba5df581 twice. The two byte-identical 3000 x 4000 photos also produced 9 of 9 byte-identical tile pairs at 10,849,925 bytes each.
Related measurements on the same twelve files: what one merge button does to a batch (many inputs become one padded canvas), what one grayscale button does to a batch (bytes dropped 40.514%), and what one invert button does to a batch (a reversible operation that still changes bytes). For a single-file crop, the photo cropper measurement covers what is thrown away; for grid work on many files at once, the batch resize measurement covers a different operation with its own geometry.
See all free image tools and measured guides