The international paper size standard, ISO 216, is based on the German DIN 476 standard for paper sizes. ISO paper sizes are all based on a single aspect ratio of square root of 2, or approximately 1:1.4142. The base A0 size of paper is defined as having an area of 1 m2. Rounded to the nearest millimetre, the A0 paper size is 841 by 1,189 millimetres (33.1 in × 46.8 in).
Successive paper sizes in the series A1, A2, A3, and so forth, are defined by halving the preceding paper size across the larger dimension. The most frequently used paper size is A4 measuring 210 by 297 millimetres (8.27 in × 11.7 in).
Each size step down is 1/2 of the previous page size
A0 = full page
A1 = 1/2 page
A2 = 1/2 A1 or 1/4 A0
A3 = 1/1 A2, 1/4 A1, 1/8 A0
A4 = 1/2 A3, 1/4 A2, 1/8 A1, 1/16 A0
hi, thanks for your answer, i think my biggest problem is to understand how to calculate how many pages using script.
i think via script i could recognize the size of the image in input, calculate if is a A0 and then calculate how many A4 can contain this image.