1 Reply Latest reply on Jan 4, 2016 8:22 AM by AJDValien

    Failed to export the JPEG file: Maximum size exceeded

    niekname

      When exporting a page to JPEG you might get the following error message:

       

      "Failed to export the JPEG file: Maximum size exceeded. Try decreasing the resolution."

       

      After some research I believe this maximum size for the resulting JPEG is set to 32767 pixels. This is the maximum value of a signed short.

      Anyone can verify if this is correct?

       

       

       

      Another similar error message you might get is:

       

      "Failed to export the JPEG file: Not enough memory. Try decreasing the resolution."

       

      I would like to know how this limit is calculated.

       

       

      Test case:

       

      InDesign document of 2000 mm x 2000 mm

          

          Export JPEG, format method 'BASELINE', dpi 416

                -> result preview of 32756 pixels     (2000 mm = 78,740157 inch * 416 dpi = 32756 pixels)

                => preview is exported

           Export JPEG, format method 'BASELINE', dpi 417

                -> "Failed to export the JPEG file: Maximum size exceeded. Try decreasing the resolution."

                => max size exceeded

       

           Export JPEG, format method 'PROGRESSIVE', dpi 416

                -> "Failed to export the JPEG file: Not enough memory. Try decreasing the resolution."

                => Within the max size boundaries, but not within the max memory boundaries. How is this calculated?

           Export JPEG, format method 'PROGRESSIVE', dpi 225

                -> "Failed to export the JPEG file: Not enough memory. Try decreasing the resolution."

                => Within the max size boundaries, but not within the max memory boundaries. How is this calculated?

           Export JPEG, format method 'PROGRESSIVE', dpi 224

                => preview is exported