Increase Max Document Export Matrix Size Limit
USE CASE: WHAT DO YOU WANT TO DO?
Export a PDF of a 6k by 6k matrix with labels
STEPS TO REPRODUCE AN ISSUE (OR TRIGGER A NEW FEATURE)
- Open large_6kx6k_average.cdt
- Command-e to export
- Select region "All"
- Select 1:1 tile aspect
- Select Row labels "Yes" & column labels "Yes"
CURRENT BEHAVIOR
Label options are grayed out because the rows & columns need to be tall/wide enough so that the labels don't overlap (or extend past the cell they're next to) when they are centered on the rows/columns.
EXPECTED BEHAVIOR
Allow label options to be enabled by scaling the matrix up from a smaller size.
DEVELOPERS ONLY SECTION
SUGGESTED CHANGE (Pseudocode optional)
Currently, to make the rows/cols of a sufficient size to accommodate the labels, the dimensions of the matrix are increased so that each row/col is 13 points (for a 12 point font). Since the matrix in the PDF was made to be an embedded PNG, its size is limited by the BufferedImage class, and in order to make the rows/cols 13 points would result in a w*h that is larger than Integer.MAX_VALUE.
So instead of creating an image that has rows/cols that are 13 points in girth, create a smaller image (say where rows/cols have a size of 3) and scale it up.
FILES AFFECTED (where the changes will be implemented) - developers only
unknown
LEVEL OF EFFORT - developers only
medium
COMMENTS