I am using the PHP GD library for image processing in my Laravel Application.
My application is deployed on AWS Lamda.
I am trying to use custom fonts in GD Library.
The function imagettftext
specifically asks for the file path. Since I am on AWS Lamba, the path does not work for me.
Is there a way to use the font file stored on S3 with PHP GD?
Is there a way to input the file itself instead of the file path?