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

fix: magick previewer for multi-layered image files with -flatten argument #1684

Merged
merged 1 commit into from
Sep 26, 2024
Merged

Conversation

v3natio
Copy link
Contributor

@v3natio v3natio commented Sep 25, 2024

As the title describes it, this is an easy fix in order for the previewer to work for xcf and other files which handle layers. It should work as normal for non-layered files.

@sxyazi
Copy link
Owner

sxyazi commented Sep 25, 2024

Could you please send me a file with layers for me to test?

@v3natio
Copy link
Contributor Author

v3natio commented Sep 25, 2024

Alright, so for example for the following .xcf file (uploading it as zip since github won't let me otherwise):
test.zip

We get the following previews using the old command (no -flatten arg):
idk-0
idk-1
idk-2
idk-3

And we get a singular image using the arg:
idk

Copy link
Owner

@sxyazi sxyazi left a comment

Choose a reason for hiding this comment

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

Tested and works great, thanks for the fix! 👍🏻

@sxyazi sxyazi changed the title Fix magick previewer for multi-layered image files with -flatten arg. fix: magick previewer for multi-layered image files with -flatten argument Sep 26, 2024
@sxyazi sxyazi merged commit ae53ef4 into sxyazi:main Sep 26, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants