FS#61583 - [ranger] Add python-pillow as an optional dependency

Attached to Project: Community Packages
Opened by Reeto Chatterjee (ratorx) - Wednesday, 30 January 2019, 20:44 GMT
Last edited by Caleb Maclennan (alerque) - Saturday, 22 April 2023, 07:47 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Caleb Maclennan (alerque)
Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
ranger has a new image preview method specifically for the kitty terminal emulator (which is also in community). This method requires python-pillow to work. Please add python-pillow as an optional dependency. This is documented in the man page.

Version: 1.9.2-1
This task depends upon

Closed by  Caleb Maclennan (alerque)
Saturday, 22 April 2023, 07:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  pkgrel -8 will have this
Comment by imtbl (imtbl) - Saturday, 24 April 2021, 17:37 GMT
I just stumbled upon this as well; `python-pillow` is still required to get image previews working in ranger when setting `preview_images_method kitty`.

The ranger manual clearly states:

```
[...]

This only works in Kitty. It requires PIL (or pillow) to work. Allows remote image previews, for example in an ssh session.

To enable this feature, set the option "preview_images_method" to kitty.
```

So I agree that adding `python-pillow` as optional dependency would be a good idea.
Comment by Toolybird (Toolybird) - Thursday, 20 April 2023, 08:08 GMT
Please note that python-pillow gets pulled in if the optdep "ueberzug" is installed. One could argue this is already covered.

"ueberzug (optional) - for previews of images"
Comment by Caleb Maclennan (alerque) - Saturday, 22 April 2023, 07:41 GMT
ueberzug uses X11 popups for previews, having just pillow enables in-terminal previews in Kitty.

Loading...