Skip to main content
ChrisMix86
Inspiring
January 2, 2019
Answered

Most efficient way

  • January 2, 2019
  • 3 replies
  • 1869 views

I have 10 huge layers that I'm animating.

The .psd file is 16000 x 6000 pixels (the size of the largest layer). The smallest layer is 15900 pixels by 5990 pixels.

Is it more memory efficient to convert that .psd file into 10 separate png files instead?

    This topic has been closed for replies.
    Correct answer Andrew Yoole

    Great advice from Rick above, but I will add that I've done a lot of work with similar content, and rendering is much faster if you split your large image into segments.  It doesn't matter if they're PSD or PNG.  I'd set yourself a limit, say 4000x3000, and segment your images accordingly.

    Why does it help?  After Effects buffers all the layer components for a frame its rendering, applies effects, then composites.  If you use one giant layer, After Effects has to buffer that layer in every frame, then apply effects (such as blur) to the entire layer, then composite it.  If you've segmented your image and only on or two of the segments are visible in a particular frame, After Effects ignores the layers that can't be seen and only renders the smaller segments it needs to.  Huge RAM saving, less CPU load, and overall faster renders.  (This presumes that you are working with native layers, or collapsed transformations of precomped layers.  If you precomp the segments back into full-size images, and don't collapse transformations, you negate the benefit of segmenting the images, as AE will still buffer the entire precomp.)

    3 replies

    Mo Moolla
    Legend
    January 3, 2019

    if you are importing your PSD files as a composition it should make no difference at all. AE will prompt whether you want to bring them in merged or as individual layers.

    So I don't see the problem here at all.

    You can then use each layer singularly and add effects with ease. AE, even at those pixel sizes should comfortably manage.

    From your video I see the animation elements are minimal so there is nothing that you are zooming too much into.

    Since you arent doing any "macro" type work I would bring down the image files to a comfortable pixel size that will be easier on AE. That can be done from PS as smaller export files.

    I would not recommend a png or jpeg export as you are severely compressing on PS output and then compressing again on AE output.

    Mo

    ChrisMix86
    Inspiring
    January 3, 2019

    there is nothing that you are zooming too much into. Since you arent doing any "macro" type work I would bring down the image files to a comfortable pixel size that will be easier on AE. That can be done from PS as smaller export files

    Thanks Mo, I would do that but there are things that I will be zooming in to that need to at 1:1. I might even reuse some parts for output at 2k, 2.7k and maybe even 4k and I won't be resizing.


    If you use one giant layer, After Effects has to buffer that layer in every frame, then apply effects (such as blur) to the entire layer, then composite it.  If you've segmented your image and only on or two of the segments are visible in a particular frame, After Effects ignores the layers that can't be seen and only renders the smaller segments it needs to.  Huge RAM saving, less CPU load, and overall faster renders

    That's what I had an inkling about, I knew I'd seen or heard something like this and I'm so glad you replied Andrew. That's what I will do, cut them up into smaller tiles. Brilliant thanks!

    Thanks to everyone else who bothered to reply, I learned something useful from everyone

    ChrisMix86
    Inspiring
    January 3, 2019

    Illustrator is out of the question. The client (an architect) creates his plans and his layouts in ArchiCAD and AutoCAD. He outputs these as PDFs.

    I have to take those files into Photoshop to do some work (like split things up like the dj decks ready for animating) then they end up as a multilayer unflattened PSD.

    This is a quick render of a totally UNFINISHED bit I'm working on for client's social media. there are two huge layers showing on screen at this time plus some very small layers for the mixer which are precomped but I might end up with smaller layers in the .psd

    I worry that any smaller layers in the .psd may take up memory based on the height and width of the .psd rather than just the dimensions of that layer.

    Andrew Yoole
    Andrew YooleCorrect answer
    Inspiring
    January 3, 2019

    Great advice from Rick above, but I will add that I've done a lot of work with similar content, and rendering is much faster if you split your large image into segments.  It doesn't matter if they're PSD or PNG.  I'd set yourself a limit, say 4000x3000, and segment your images accordingly.

    Why does it help?  After Effects buffers all the layer components for a frame its rendering, applies effects, then composites.  If you use one giant layer, After Effects has to buffer that layer in every frame, then apply effects (such as blur) to the entire layer, then composite it.  If you've segmented your image and only on or two of the segments are visible in a particular frame, After Effects ignores the layers that can't be seen and only renders the smaller segments it needs to.  Huge RAM saving, less CPU load, and overall faster renders.  (This presumes that you are working with native layers, or collapsed transformations of precomped layers.  If you precomp the segments back into full-size images, and don't collapse transformations, you negate the benefit of segmenting the images, as AE will still buffer the entire precomp.)

    imeilfx
    Inspiring
    January 2, 2019

    Important thing is to ask yourselve - do I need so large PSD files? What is your final composition/video resoultion? And do you do any extreme scalling up those layers from PS? If not - it would be better to save your PS files with smaller resolution.

    ChrisMix86
    Inspiring
    January 2, 2019

    The layers have to be that size as they are complex plans that need to be panned and zoomed, seen close up at 1:1 pixel 100% and seen from a distance at 5%. I don't scale them up but I scroll them over a view-port that is 1080p (i.e. the main composition is 1080p)

    Regardless of that, I want to know if a .psd file containing 10 layers is better for After Effects than 10 separate files of another type.

    kirkeric
    Inspiring
    January 2, 2019

    If I understand the question, you are asking if the .psd that already has all 10 layers composited in to a single file is better than leaving them separate? 

    My answer.  No.  So long as there has been no change to resolution or other factors, doesn't really matter.

    Eric