RSS/Atom feed Twitter
Site is read-only, email is disabled

Ang: Re: Base type of a wmf image

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

Ang: Re: Base type of a wmf image Magnus Hellström 26 Sep 10:20
  Ang: Re: Base type of a wmf image Sven Neumann 26 Sep 10:30
Magnus Hellström
2006-09-26 10:20:48 UTC (over 18 years ago)

Ang: Re: Base type of a wmf image

So this behaviour of the wmf file loader can be considered as a bug? Is it something that will be taken care of in future releases? I'm stuck to Gimp, so ImageMagick is not an alternative.

/Magnus

----Ursprungligt meddelande---- Från: sven@gimp.org
Datum: 2006/09/25 20:58
Till: "Magnus =?ISO-8859-1?Q?Hellstr=F6m?=" Kopia:
Ärende: Re: [Gimp-user] Base type of a wmf image

Hi,

On Mon, 2006-09-25 at 12:51 +0200, Magnus Hellström wrote:

I'm using script-fu to load an image to determine the image base

type.

It gives me back rgb even if the wmf image is in grayscale.

How come? Can I determine the image type in some other way?

The WMF loader probably converts everything to RGB then. You could try to use "identify" instead. This tool comes with ImageMagick.

Sven

Sven Neumann
2006-09-26 10:30:17 UTC (over 18 years ago)

Ang: Re: Base type of a wmf image

Hi,

On Tue, 2006-09-26 at 10:20 +0200, Magnus Hellström wrote:

So this behaviour of the wmf file loader can be considered as a bug?

No, it counts as a missing feature perhaps.

Is it something that will be taken care of in future releases?

Unlikely, unless somone provides a patch. The WMF loader plug-in is very simple. It uses libwmf to load the file and as far as I can see, the libwmf library always returns an RGBA buffer. So you might even have to change the library first.

I'm stuck to Gimp, so ImageMagick is not an alternative.

Frankly speaking, GIMP seems like the wrong tool for the job. It was not designed to detect file formats.

Sven