Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outputting JPG files to a variable #14

Open
BrentHathaway opened this issue Jul 10, 2020 · 0 comments
Open

Outputting JPG files to a variable #14

BrentHathaway opened this issue Jul 10, 2020 · 0 comments

Comments

@BrentHathaway
Copy link

BrentHathaway commented Jul 10, 2020

Thank you for this code!! I am converting a pdf to jpg's. (I wish to resize the jpgs in memory and then re-assemble the pdf).

Using your Cairo class, is there any way I can write the jpg output to a variable? I tried:

$arrOutputJPG = $cairo1->generateJPG();

But that didn't work. JPG files were still created.

Any suggestions are appreciated.
If you prefer that I email you instead, let me know and I will delete this Issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant