-
Notifications
You must be signed in to change notification settings - Fork 380
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates PdfTransformer so that imagick is injected
With this update Imagick is injected in the transformer via Symfony's Service Container. The check, relative to imagick extension being loaded, is now up to the user: the service container will complain about Imagick not found before injecting it in the transformer.
- Loading branch information
Showing
2 changed files
with
22 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
af67f06
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello,
I tried to use your code to convert a pdf, when I joined my page, it returns me out the first page, but in pdf format and not in png. I can not find where does the error.
Can you help me?
Here are my different files:
services.yml :
config.yml :
liip_imagine:
driver: imagick
filter_sets:
my_thumb:
quality: 75
filters:
thumbnail: { size: [120, 90], mode: inset }
pdf_thumb:
data_loader: pdf_data_loader
af67f06
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello,
I tried to use your code to convert a pdf, when I joined my page, it returns me out the first page, but in pdf format and not in png. I can not find where does the error.
Can you help me?
Here are my different files:
services.yml :
config.yml :
liip_imagine:
driver: imagick
filter_sets:
my_thumb:
quality: 75
filters:
thumbnail: { size: [120, 90], mode: inset }
pdf_thumb:
data_loader: pdf_data_loader