Premultiplied Alpha by default? (mac 5.5)

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  05 May 2012
Premultiplied Alpha by default? (mac 5.5)

Hi everyone,

I was wondering if there is a way to set ae to import footage, with a premultiplied alpha by default.

I've seen it done on a pc for open exr sequences. There was a hidden file somewhere that controlled the default import interpretation of every file format. Unfortunately I cannot remember the name or where it was. -probably not exactly the same on a mac anyway.

In my case I am looking to to the same for pngs, or most of the standard formats.

I find it pretty annoying to have to redo this all the time when updating passes. And especially if you have lots of them it can get quite annoying.

Any help / hint would be greatly appreciated.

  05 May 2012
actually I have found what should be the solution, -but it does not work for some reason

there is a file in the user/.../preferences/adobe/aftereffects/10.5 folder

interpretation rules .txt where you can change how ae takes footage in.

I've found the line for open exr's

# OpenEXR is premultiplied by convention
*, *, *, "oEXR", * ~ *, *, *, P, *, *

so I duplicated and made one for pngs

# PNG file format is premultiplied by convention
*, *, *, "PNGf", * ~ *, *, *, P, *, *

PNGf seems to be the type code for pngs according to wikipedia. Before I had just 'PNG' and ae complained about a syntax error. But this might be why it is not working

also I changed the ~ to an = to make it a hard rule so my line reads like this

# PNG file format is premultiplied by convention
*, *, *, "PNGf", * = *, *, *, P, *, *

unfortunately still no luck. If anyone could point me towards the right direction that would be great


-ps I'm not a code guy, basically I don't really understand what I did there I'm just following stuff I read online. Please take that into account when answering
  05 May 2012
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 09:12 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.