Skip to content

An Adobe After Effect script to save current frame as PNG file in two ways.

Notifications You must be signed in to change notification settings

Nico-Duduf/SaveFrameAsPNG-Plus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

SaveFrameAsPNG-Plus

An Adobe After Effect script to save current frame as PNG file in two ways.
AE当前帧存为png脚本,可以用来切图嗯。

How to Use

Download the ZIP file and unzip.
Run AE, click File->Script->Run Script File... and choose the SaveFrameAsPNG-Plus.jsx file.

Or you can copy the SaveFrameAsPNG-Plus.jsx to your AE script folder:

Windows:
C:\Program Files\Adobe\Adobe After Effects <version>\Support Files\Script\
Mac:
/Applications/Adobe After Effects <version>/Scripts/


Then you can run it derectly from `File`->`Script`


see details

Now you can also copy the .jsx file to the /script/ScriptUI Panels/ to run from the AE Window menu.

If everthing goes right, you will see this:

The differences between the two ways

As you can see I set two buttons on the pannel, the PNG with good Alpha one is recomanded which renders in the regular way through the Render Queue. The other one PNG with bad Alpha uses an undocumented function saveFrameToPng() to generate images. It is a little faster and simpler than the regular one and results almost the same if your image has no transparence, but some black egdes will be generated if you render the frame with alpha chanel.
I keep them both because of research reason, you can see the details in the code.

PNG with good Alpha

PNG with bad Alpha


Known issues

  1. Only tested on Mac OS 10.11.5 with AE CC 13.2 and One of my frends help test an early veision on Windows 10 with AE CC 2014, but I'm not sure if the latest one works on that.
  2. Sometimes the script might capture wrong images.Rerun the script to fiexd that.
    3. If you open a new file in AE, you have to rerun the script.

About

An Adobe After Effect script to save current frame as PNG file in two ways.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%