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

Update cookbook-recipe.txt #2121

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Update cookbook-recipe.txt #2121

wants to merge 2 commits into from

Conversation

Akiyele
Copy link

@Akiyele Akiyele commented Nov 17, 2023

I just tested the PdfPreview in my kirby project and i needed some changes for the hook. Otherwise the default options are used. And i needed Ghostscript on my system.

I just tested the PdfPreview in my kirby project and i needed some changes for the hook. Otherwise the default options are used.
And i needed Ghostscript on my system.
@Akiyele
Copy link
Author

Akiyele commented Nov 17, 2023

I also had to add some config changes and add the 'bin' => 'magick' to the thumbs array.
'thumbs' => [
'driver' => 'im',
'bin' => 'magick',
]

'quality' => 100,
'page' => 0,
'density' => 300,
'colorspace' => false,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only added options that are different from the defaults, adding the colorspace option here is therefore not necessary.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you sure?
Without the colorspace attribute, it crashed in my case.

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

Successfully merging this pull request may close these issues.

2 participants