GNOME Bugzilla – Bug 349800
can't view certain .tga files with EOG
Last modified: 2016-12-28 18:10:52 UTC
Please describe the problem: www.svanloon.nl/reflex_layout.tar.gz This is an archive of a few images I have trouble with. Not sure if this actually is a bug in EOG or if the files are corrupt or something else is going on, but I hope others can try to open these files in EOG and see if it works for them. I can view all of these images in EOG, except for floor.tga, wall.tga and lift.tga When I try to open them with EOG, I notice some loading, and then nothing happens. I can view them fine with GIMP though. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
I can confirm that. Additionally ceiling.tga doesn't work either here. But this could be a problem with GdkPixbuf as nautilus' thumbnailing doesn't work either (unless you load the file in GIMP which sets the thumbnail).
Thats the GError set by GdkPixbuf when loading ceiling.tga: Failed to load image './ceiling.tga': Excess data in file
I am moving this over to gdk-pixbuf since if it is really a bug it is in the TGA loader. But I am having the feeling that your TGA files are not really sane (they carry two TGA footers). So the "bug" might actually become a request to recognize and workaround such files.
Created attachment 84280 [details] collection of tga files I uploaded this as an attachment here, I'm cleaning up my FTP server a bit. Felix, you mentioned that the TGA files might not be 100% sane, but if they are not, how come GIMP can open them all, and only gdk-pixbuf has difficulties with it?
Sorry, I forgot to respond so long. (In reply to comment #4) > Felix, you mentioned that the TGA files might not be 100% sane, but if they are > not, how come GIMP can open them all, and only gdk-pixbuf has difficulties with > it? > It is always a matter of how sensitive you are to such issues. If you know there are common problems with certain files (and you decide to support them) you can implement a workaround for them. So, I guess GIMP already has a workaround (if there is one) for this or reads TGA files differently so it doesn't expose this problem. Of course it is also possible that I misunderstood the TGA specs and your files are fine.
*** Bug 617573 has been marked as a duplicate of this bug. ***
All those display fine now.