Giter VIP home page Giter VIP logo

saveframeaspng-plus's Introduction

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.

saveframeaspng-plus's People

Contributors

bigxixi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.