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

transparency issue when using show without other function #5

Open
franklippes opened this issue Feb 12, 2010 · 2 comments
Open

transparency issue when using show without other function #5

franklippes opened this issue Feb 12, 2010 · 2 comments

Comments

@franklippes
Copy link

Hi there,

First of all, I really like the simplicity of this lib. I ran into a little problem though.

I created a simple caching mechanism. When i get a request for an image with the same parameters and i find it in the cache i do the following:

$thumb = PhpThumbFactory::create($cachefile);
$thumb->show();
return;

This doesn't handle transparancy correctly, because 'preserveAlpha' is never called.
Calling it doesn't work either, because the workingImage isn't set.

I hope you can come up with a solid solution

Regards,
Frank Lippes

@masterexploder
Copy link
Owner

I'll see what I can do about this one... seems like a simple enough thing to fix

@tijs
Copy link

tijs commented Dec 26, 2010

is there already a fix for this? i'm running into the same problem...

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

3 participants