This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[SOLVED] Cannot view tiff images

Tags: None
(comma "," separated)
User avatar
sparhawk
Registered Member
Posts
433
Karma
0
OS

[SOLVED] Cannot view tiff images

Wed Feb 18, 2015 4:34 am
A recent update has stopped gwenview from displaying tiff images, for example this one. I am told that "Loading ‘CCITT_1.TIF’ failed. Loading meta information failed." If I launch gwenview from the terminal with the filename as an argument, I get the following.

Code: Select all
Invalid pixmap specified.
QTimeLine::setDuration: cannot set duration <= 0
Invalid pixmap specified.
QTimeLine::setDuration: cannot set duration <= 0
Invalid pixmap specified.
QTimeLine::setDuration: cannot set duration <= 0
kf5.kservice.sycoca: Trying to open ksycoca from "/home/lee/.cache/ksycoca5"
Invalid pixmap specified.
QTimeLine::setDuration: cannot set duration <= 0
Shortcut for action  "rate_0" "Zero" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "rate_1" "⋆" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "rate_2" "⋆⋆" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "rate_3" "⋆⋆⋆" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "rate_4" "⋆⋆⋆⋆" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "rate_5" "⋆⋆⋆⋆⋆" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
org.kde.kactivities.lib.core: Creating ResourceInstance: empty for now
QImageReader::read() using format hint "tif" failed: "Unsupported image format"
QImageReader::read() without format hint failed: "Unsupported image format"


I've also tried renaming the file to *.tif and *.tiff, but it still fails.

Arch Linux
The package manager says gwenview 14.12.2, but the GUI menu says Gwenview 5.0.0 pre, using KDE Frameworks 5.6.0.

Last edited by sparhawk on Tue Sep 01, 2015 8:29 am, edited 1 time in total.
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Cannot view tiff images

Wed Feb 18, 2015 12:39 pm
is there a package called libtiff5 (or similar) available ? if so please install it


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
sparhawk
Registered Member
Posts
433
Karma
0
OS

Re: Cannot view tiff images  Topic is solved

Wed Feb 18, 2015 9:14 pm
Ah, I did have libtiff5 installed, but after installing qt5-imageformats, it now works. Would you consider the somewhat uninformative error message a bug? If so I'm happy to file it.

Thanks again for your help.

==EDIT==
I just found this bug in the Arch tracker.


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell