Skip navigation
Currently Being Moderated

Export Layers to Files (png) Trim - but doesn't trim? CS5

Apr 19, 2012 4:41 PM

Tags: #photoshop #export #png #trim #photoshop_cs5 #export_layers_to_files



I'm stumped! I'm using CS5.. I select 'trim' on a png 'Export Layers to Files' script, but instead the single layers are each exported  onto the whole document size (which is much larger; but I need trimmed/cropped). So I end up with all the separate png layers exported (which is what I want), but each one on the original document size (in the same placing; seemingly with all other layers hidden on export).


Does anyone know why this doesn't work for me? I tried another script that does exactly as I need (trims all the layers on export to the bare minimum), but it wont work when the layers are within a group (won't even open). Here is a link to that script:


You can imagine I feel a bit stemmed in and blocked doing this simple task as both do separate things required, but not as a result. I don't understand why the 'trim' option is there if it doesn't.. well, trim? Maybe I have a bug? Something? Does the trim png option work for anyone else? Any help or tips much appreciated.


Thank you!


The reason for my wanting to keep layers within a group on export: I want to make colour adjustments to all separate layers in one go, and export that onto the separate png layers. The only way I can seem to do this is to place all layers in a group, and add a mask to adjust. Adding a mask outside a group, even if linked or selected/highlighted, doesn't seem to work..

  • Currently Being Moderated
    Aug 13, 2013 1:02 PM   in reply to pixels_pixels

    Hi, ran into this problem using CS6, what's more frustrating is that it worked the first time I used it on a file with with many different groups of layers and when it took so long, I shrunk the file by taking out a group that was specific to my needs and it started not working.. I never got to figure out why, but I did what this guy says:   to finish the job... maybe useful..

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points