18

I use this command for locking screen:

i3lock -i /home/freyja/pics/owl.jpg

The screen is locked, but there is no picture (only white background). When called from console the command says:

Could not load image /home/freyja/pics/owl.jpg: out of memory.

What can I do about this? Is memory lacking in whole system (does not seem like it) or just i3-lock has some internal restriction? The picture is big (HD), but the resolution exactly matches my screen, so I wouldn't like to use a smaller one.

nuoritoveri
  • 565
  • 1
  • 4
  • 10

1 Answers1

19

The solution was to convert image to PNG (thought you would think that for a photo it would actually take more memory, so maybe the error message wasn't very accurate).

I found the solution here: http://archive.rebeccablacktech.com/g/thread/44391920#p44393721

But I thought it would be good if the answer could be also found on a bit more... focused place.

nuoritoveri
  • 565
  • 1
  • 4
  • 10