I’m trying to script omero-figure in order to have all timepoints of a time series as individual panels but I’m having issues with a couple of things.
I started looking into this page which seems to be doing what I want but I would like to have the number of columns and rows automatically depending on the size of the first image so I have some questions:
- how do you read the size of the current PDF ? Because that will play a role in the number of columns. I also saw using the
export to JSONmenu that you have size and size_in_mm. I have the calculation for the number of columns and lines but not sure about the size of the page.
- how could I create a new page once this one is full ?
Thanks for your help !