support opening compressed ps files
Bug #1687302 reported by
Andrey Grozin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qpdfview |
Fix Released
|
Wishlist
|
Adam Reichold |
Bug Description
I can say
gv foo.ps.gz
and view foo. Unfortunately, I cannot say
qpdfview foo.ps.gz
It would be useful to support .gz (maybe also .bz2, .xz ...).
This is important foe .ps (and .eps) files which are usually kept compressed; not really important for .pdf and .djvu
Related branches
description: | updated |
Changed in qpdfview: | |
milestone: | none → 0.4.18 |
Changed in qpdfview: | |
status: | In Progress → Fix Committed |
Changed in qpdfview: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hello Andrey,
thank you for taking the time to report this. Could you please the linked branch a try? It extends the current trunk by automatically decompressing compressed (GZip, BZip2 and XZ if the corresponding compression programs are installed and in the path) files to temporary files before opening them. This avoids having to reimplement transparent decompression and having to link against the related libraries keeping this a soft dependency and changing very little code.
Best regards, Adam.