Copy link to clipboard
Copied
I want to get the image with PF_PixelFloat regardless of PF_PixelFormat in PF_EffectWorld.
My current plugin casts the array to type PF_PixelFloat once and then uses it, losing time.
Is there any way to do this?
Thank you.
Copy link to clipboard
Copied
If you use the GPU suite you'll always get the pixels as 32 float, though that's not an ideal solution. I don't think it's possible otherwise.
Copy link to clipboard
Copied
well, you can use AEGP_RenderAndCheckoutFrame and AEGP_GetReceiptWorld to get any project item in any color depth regardless of the project settings.
the downside is that AE can't know in advance that your plugin will need that item, so it doesn't cache the results. that means the input aquisition is much slower than if you used the input AE passses to your plugin.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now