Skip to main content
Known Participant
July 3, 2019
Question

How to know the total pixels of an Image in Indesign

  • July 3, 2019
  • 4 replies
  • 5834 views

Hi,

I have got a rejection from apple which says the image should not be images larger than 4,000,000 pixels in the ePub file.

I have around 500 images wherein it is taking too much time to manually multiply the image dimensions and get the total pixels of the image.

Is there any Script or batch method in Indesign or any other software where we can get to know if the image exceeds 4,000,000 pixels.

It would be great if there is a quick method to solve this issue.

Regards

Arvind

    This topic has been closed for replies.

    4 replies

    Dave Creamer of IDEAS
    Community Expert
    Community Expert
    July 5, 2019

    An easy way to process the images is with Zevrix LinkOptimizer. Not exactly cheap, but it depends on how many EPUBs you create.

    Optimize Adobe InDesign link size, resolution, color and format | LinkOptimizer

    Another option is to use Photoshop's Image Processor to a new folder with the same file names, then in InDesign, relink to the new folder. Make the EPUB and then link the images back to the original folder.

    David Creamer: Community Expert (ACI and ACE 1995-2023)
    rob day
    Community Expert
    Community Expert
    July 6, 2019

    An easy way to process the images is with Zevrix LinkOptimizer. Not exactly cheap, but it depends on how many EPUBs you create.

    But isn't the plugin optimizing the images' output resolutions as pixels per inch, and not their pixel dimensions? HTML doesn't have an output resolution ppi property.

    In my #17 example the placed image's Effective resolution is 427ppi. If the image was optimized to 300ppi, its pixel dimensions would still be 3300 x 2547 (more than the Apple store's 4,000,000 total pixel limit). On the epub export I would have to choose something less than 300ppi from the Conversion tabs Resolution drop down (which only has 4 options) in order to get below 4,000,000 pixels. I don't think there is a way to turn off down sampling on an epub export.

    It would be futile to try and control an image's exact pixel dimensions in the epub, because its final displayed pixel dimensions would depend on the client device’s display size and its orientation.

    Frans v.d. Geest
    Community Expert
    Community Expert
    July 4, 2019

    I have had the same, many times. I use Unzip/zip ePub or Cancrusher to unzip the file, then find large images in the image folder of the unzipped ePub. Open those from that folder and change the resolution (lower), save the image back into that same folder and then use one of the apps to zip to ePub again.

    For some reason InDesign does NOT resample all images down even if told to do so in the export options.

    I have to do the unzip/zip/change resoltion all the time for our ePubs...

    Known Participant
    July 4, 2019

    Thanks for the reply Frans

    Known Participant
    July 3, 2019

    Hi Willi,

    Thanks for the reply.

    We have used it for the print as well as the same image for ePub.

    Its a screenshot that we have and the Dimension is 3840 x 2336 = 8970240.

    If we reduce the dimensions to bring down to 4,000,000 pixels the image quality is lost. So we have used the same size screen shot for both Print and digital version.

    Regards

    Arvind

    Jongware
    Community Expert
    Community Expert
    July 3, 2019

    If your image must be this large, then you have to contact Apple. It sounds like your document in InDesign is correct and so it's their problem, not Adobe's.

    Willi Adelberger
    Community Expert
    Community Expert
    July 3, 2019

    Go to the linked files and look for some Information on the linked files. But this Image seems to be quite large. I don't believe you imported it onpurpose for an epub. What do you want to afford with such an Image?

    Derek Cross
    Community Expert
    Community Expert
    July 3, 2019

    You could also set up preflight to note images above a certain size.

    Known Participant
    July 3, 2019

    Hi Derek,

    Thanks for the reply.

    Can you please help me with the Preflight settings.

    Regards

    Arvind