Copy link to clipboard
Copied
Hi everyone,
I want to initialize PF_EffectWorld using image from disk. Roughly speaking, I want to write something like this:
PF_EffectWorld* img = EffectWorldLoadFunction("1.jpg");
Does AE SDK have such functionality? Or I have to use external library (like OpenCV) for the correct reading of different image formats?
Thanks,
Ilya
No, the SDK does not offer this functionality, but as you said, you are free to use a library like SOIL, OpenCV, libpng/tiff/jpg, CImg or whatever to load an external file into a buffer in memory and then copy the pixels in the right format to your effect world.
Copy link to clipboard
Copied
No, the SDK does not offer this functionality, but as you said, you are free to use a library like SOIL, OpenCV, libpng/tiff/jpg, CImg or whatever to load an external file into a buffer in memory and then copy the pixels in the right format to your effect world.
Copy link to clipboard
Copied
Thank you for detailed answer!
Copy link to clipboard
Copied
Very late to this party, but could you explain how to copy the pixels from a buffer to an effect world?
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more