Skip to content

Drop unsupported formats from evince. #747

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

Merged
merged 1 commit into from
May 26, 2022
Merged

Conversation

dkg
Copy link
Contributor

@dkg dkg commented May 8, 2022

Years ago, evince used to display many different image formats. I
don't think it does any more.

I'm running evince 42.2 from debian testing/unstable.

I tested this with a simple image (/usr/share/icons/cab_view.png) and
imagemagick's "convert" tool like so:

suffixes="gif jpg png pnm pbm pgm ppm bmp xpm ico xwd tga pcx tiff miff"

for x in $suffixes; do
   convert cab_view.png cab_view.$x
   evince cab_view.$x
done

For all of the formats listed above except for "tiff", evince reports
"Unable to open document: …", and "File type … is not supported"

So i've removed those image formats from the evince tab completion.


(edited to add: i also tried with graphicsmagick's gm convert tool, with the same results, except that graphicsmagick wasn't able to convert to .ico)

Years ago, evince used to display many different image formats.  I
don't think it does any more.

I'm running evince 42.2 from debian testing/unstable.

I tested this with a simple image (/usr/share/icons/cab_view.png) and
imagemagick's "convert" tool like so:

```sh
suffixes="gif jpg png pnm pbm pgm ppm bmp xpm ico xwd tga pcx tiff miff"

for x in $suffixes; do
   convert cab_view.png cab_view.$x
   evince cab_view.$x
done
```

For all of the formats listed above except for "tiff", evince reports
"Unable to open document: …", and "File type … is not supported"

So i've removed those image formats from the evince tab completion.
@dkg dkg force-pushed the evince-no-images branch from f1db6e4 to ddc209c Compare May 8, 2022 16:33
@scop scop merged commit e76807f into scop:master May 26, 2022
@scop
Copy link
Owner

scop commented May 26, 2022

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