2 Replies Latest reply on Oct 26, 2012 11:48 AM by c.pfaffenbichler

    Can you batch process files and limit file size on disk?

    Bearabull1 Level 1

      Is there a way to batch process file size and not image size? Example is I want all images to only be 30k in size, but leaving the image size as is.


      Message title was edited by: Brett N

        • 1. Re: file size question
          Mylenium Most Valuable Participant

          Not that I know of. And even if there were, that would only work with formats that use a fixed encoding/ compression that can be calculated inside a script. It would not work with e.g. JPEG, as the size fluctuates too much based on what is in the image and what compression settings are used. Even image conversion programs that offer such a feature only can use the value as an approximate desirable result, not an absolute in such cases...



          • 2. Re: Can you batch process files and limit file size on disk?
            c.pfaffenbichler Level 9

            The issue has been discussed repeatedly and a viable approach would be to have the Script write the file, check its size, overwtrite it with different settings if it’s too big, check again etc.

            I think I saw a Script that did that but couldn’t locate it the last time I saw somebody asking about the issue.