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

cairo status: out of memory #79

Closed
ghost opened this issue Feb 13, 2021 · 3 comments
Closed

cairo status: out of memory #79

ghost opened this issue Feb 13, 2021 · 3 comments

Comments

@ghost
Copy link

ghost commented Feb 13, 2021

I'm getting the following error when trying to use swappy.

** (swappy:103534): WARNING **: 13:22:12.535: error while loading png file: /data/downloads/avatar.jpg - cairo status: out of memory

I used the following commands

$ swappy -f /data/downloads/avatar.jpg
$ grimshot | swappy -f -

Both of them produce the same error message.

Some information which might be helpful.

OS - Arch Linux 5.10.13
Swappy Version - 1.2.1
Terminal - Kitty, QTerminal
Shells - Bash, Fish
Display Server - Wayland
Window Manager - sway version 1.5.1

@ammgws
Copy link
Contributor

ammgws commented Feb 13, 2021

You need to give it a PNG not JPG

@ghost
Copy link
Author

ghost commented Feb 13, 2021

So JPG aren't supported yet? Are there plans to support JPG? What about other formats like WEBP?

@jtheoof
Copy link
Owner

jtheoof commented Feb 13, 2021

Hi @objectivephoenix only PNG are supported at this time. I recommend to use a converter and give the output to swappy. If you are having similar issues with PNG files, please let me know.

@jtheoof jtheoof closed this as completed Feb 13, 2021
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

2 participants