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

Apply Filter In Command #438

Closed
ndoulgeridis opened this issue May 27, 2014 · 3 comments
Closed

Apply Filter In Command #438

ndoulgeridis opened this issue May 27, 2014 · 3 comments

Comments

@ndoulgeridis
Copy link

Hello,

How can i apply filter in command without creating a new image but just apply filter to an existing image? I need to it for just append watermark but I want to append watermakr in the original image without creating a new one.

@makasim
Copy link
Collaborator

makasim commented May 28, 2014

It is not possible by design.

as a workaround you can create an image in the cache than replace origin with the cached one.

@ndoulgeridis
Copy link
Author

By the way i did that

$binary = $data_manager->find("watermark_text", $created_file_relative_to_web);
$prototype_image = $filter_manager->applyFilter($binary, "watermark_text");
file_put_contents($created_file, $prototype_image->getContent());

Its not clean enough but works and achieves what i want. But maybe it should be possible to filter an image without without creating a new one.

@makasim makasim closed this as completed Jun 17, 2014
@makasim makasim reopened this Jun 17, 2014
@robfrawley robfrawley removed the Attn: Critical This issue or PR is critical and should be rushed into a new release ASAP. label Sep 27, 2016
@michellesanver
Copy link
Contributor

@ndoulgeridis I am going through all issues to sort and prioritise. Is this still an issue for you? Since this is so old, please open a new issue if that is the case and we will prioritise accordingly. Thanks a lot! :)

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

4 participants