No Rendering of WMFs

Bug #144220 reported by fjgaude
16
Affects Status Importance Assigned to Milestone
gdk-pixbuf (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: gthumb

Will you not continue as before to render WMFs? I have over 10,000 of them.

Thanks,
frank

ProblemType: Bug
Architecture: amd64
Date: Sun Sep 23 05:18:39 2007
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/bin/gthumb
NonfreeKernelModules: nvidia
Package: gthumb 3:2.10.6-0ubuntu1
PackageArchitecture: amd64
ProcCmdline: gthumb
ProcCwd: /home/frank
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gthumb
Uname: Linux sunshine 2.6.22-12-generic #1 SMP Sat Sep 22 17:45:57 GMT 2007 x86_64 GNU/Linux

Tags: apport-bug
Revision history for this message
fjgaude (tanzen) wrote :
Revision history for this message
mjc (mjc-avtechpulse) wrote :

Does gdk-pixbuf support wmf files?

- Mike

Revision history for this message
Adam Buchbinder (adam-buchbinder) wrote :

Yes, gdk-pixbuf supports WMF files so long as libwmf is installed. There appeared to be a similar issue reported at bugs.debian.org/263911; I do have libwmf installed, and it contains a loader... but it doesn't seem to work. Running gdk-pixbuf-query-loaders shows the following:

"/usr/lib/gtk-2.0/2.10.0/loaders/io-wmf.so"
"wmf" 0 "gtk20" "Windows Metafile"
"image/x-wmf" ""
"wmf" "apm" ""
"\327\315\306\232" "" 100
"\001" "" 100

I've tried to open the attached WMF in gthumb, but I see nothing, not even an error message. (The file opens properly in Gimp.) I don't know of any other gdk-pixbuf applications, so I can't tell if this is a problem with gThumb's use of the available loaders, gdk-pixbuf's provision of said loaders, or libwmf's loader itself. I can say that it should definitely work given my installation, so I'm marking this as confirmed, though it may need to be applied to a different package.

Changed in gthumb:
status: New → Confirmed
Revision history for this message
Adam Buchbinder (adam-buchbinder) wrote :
Revision history for this message
mjc (mjc-avtechpulse) wrote :

The test file works on Fedora 8 + gThumb 2.10.8, so it is probably not a gThumb issue. (I do not have a Ubuntu install.)

- Mike

Revision history for this message
fjgaude (tanzen) wrote :

I wonder why this item has received so little attention... as said before, I have over 10,000 WMFs and nothing in Ubuntu can render them.

Revision history for this message
fjgaude (tanzen) wrote :

So it's not a gThunb issue and likely not a Nautilus one either... something is not hooked up to the libwmf file in Ubuntu?

Revision history for this message
fjgaude (tanzen) wrote :

Adam, WMFs were rendered in Feisty and Edgy, they stopped in Gutsy. That might be a clue. They don't work yet in Hardy. Any help is greatly appreciated! <smile>

Revision history for this message
Adam Buchbinder (adam-buchbinder) wrote :

Still present in Hardy.

Revision history for this message
Adam Buchbinder (adam-buchbinder) wrote :

Reassigning to gdk-pixbuf, as it seems to affect both gThumb and eog.

Revision history for this message
Adam Buchbinder (adam-buchbinder) wrote :

Still present in Intrepid. gThumb hangs, and eog just reports "Unrecognized image file format". (I'm using the latter, because it links to libgdk_pixbuf as well, and it prints an actual error message.)

As a workaround, you might consider using wmf2svg to convert them to a format that the tools can understand (it's still a vector format). It's in the libwmf-bin package. Go to a directory containing some WMFs and execute the following shell command (everything following the first $):

$ mkdir svg; for i in *.wmf; do echo [$i]; wmf2svg --inline $i > svg/${i%%.wmf}.svg; done

If the WMF extension is uppercase, do the following instead:

$ mkdir svg; for i in *.WMF; do echo [$i]; wmf2svg --inline $i > svg/${i%%.WMF}.svg; done

Additionally, you can use the wmf2x program to view your WMFs. I know this isn't ideal, but it *is* a workaround until someone can figure out what's gone wrong here.

Revision history for this message
fjgaude (tanzen) wrote :

Well, GIMP seems to have a solution, as it can read WMFs just fine. They may have their own code.

All this came about when 7.04 became 7.10. It would seem to be a lib not being attached or loaded correctly.

Pray, we get relief soon.

Revision history for this message
Robert Ancell (robert-ancell) wrote :

Seems to work now, assuming this is long since fixed.

Changed in gdk-pixbuf (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
fjgaude (tanzen) wrote : Re: [Bug 144220] Re: No Rendering of WMFs

I have over 10,000 WMFs and have no trouble
using them, for the last two years.
frank

On 11/16/2014 06:43 PM, Robert Ancell wrote:
> Seems to work now, assuming this is long since fixed.
>
> ** Changed in: gdk-pixbuf (Ubuntu)
> Status: Confirmed => Fix Released
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.