Divide 1,001 pixels into three columns

For 1,001 pixels divided into three columns, use boundaries at 0, 333, 667 and 1,001. The three widths are 333, 334 and 334. Their sum is exactly the source width. If a downstream system demands identical widths, crop one or two columns deliberately or pad the canvas to a multiple of three before splitting.

Image splitter