[email protected]
[Top] [All Lists]

Bug#159786: marked as forwarded (gozer produces bad .PPMs)

Subject: Bug#159786: marked as forwarded gozer produces bad .PPMs
From: Debian Bug Tracking System
Date: Sun, 09 Jan 2005 21:03:07 -0800
Your message dated Mon, 10 Jan 2005 13:52:06 +0900
with message-id <[email protected]>
has caused the Debian Bug report #159786,
regarding gozer produces bad .PPMs
to be marked as having been forwarded to the upstream software
author(s) [email protected]

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at 159786-forwarded) by bugs.debian.org; 10 Jan 2005 04:50:35 +0000
>From [email protected] Sun Jan 09 20:50:35 2005
Return-path: <[email protected]>
Received: from koto.vergenet.net [] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CnrVi-0000nu-00; Sun, 09 Jan 2005 20:50:34 -0800
Received: by koto.vergenet.net (Postfix, from userid 1001)
        id 455A43413A; Mon, 10 Jan 2005 13:32:04 +0900 (JST)
Date: Mon, 10 Jan 2005 13:52:06 +0900
From: Carsten Haitzler (The Rasterman) <[email protected]>
To: [email protected]
Cc: [email protected], [email protected], [email protected],
        [email protected]
Subject: (forw) Bug#159786: gozer produces bad .PPMs
Message-ID: <[email protected]>
Organization: You expect me to be organized?
X-Mailer: Sylpheed-Claws 0.9.13 (GTK+ 1.2.10; i386-pc-linux-gnu)
X-Pants: on
X-Cluestick: Get jiggy with it!
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
Delivered-To: [email protected]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_01,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

I think its time to close this bug. Funny that no one ever brought this to my
attention. Anyway. This is not an imlib2 bug - in a small way its a gozer bug
and on another its a user error.


PNM does NOT SUPPORT ALPHA CHANNELS. You created an Image WITH an alpha channel.
Imlib2 has this image and can't do much about it. If you check, PNM only
supports P1 - P6. all have no alpha. XV extended PNM with a P7 format for its
thumbnail images (in RGB332 8bit). Imlib2 has an extension with P8 - this is
RGBA (with an alpha channel) all binary (not ascii), just like XV extended. This
is done because Imlib2 cannot save the alpha channel otherwise. If you want the
ppm to be readable by anything that isn't extended to do this you need to
remove/disable the alpha channel in the image before saving and then imlib2 will
save a normal P6 RGB binary PNM. So all the facilities are there to do this in
Imlib2, but not usde. You can argue the user is asking gozer to do something
that is not actually possible (produce a valid standard pnm with alpha channel
data) and thus imlib2 is doing its best to do what the user asked - favoring the
alpha over a 'standard format' like cv does with its thumbnails for size/disk
space reasons. the solution is 1. don't use pnm for this or 2. modify gozer to
remove alpha if saving to PNM or add an option that will retian the alpha if
saving to pnm if explicitly asked to do so.

so anyway... it's not a bug in imlib2 :) it's not a bug in debian's imlib2
package. its not a bug in gozer. its really a semantic issue that is best either
accounted for by the user or made explicit in a front end such as gozer imho.
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]
裸好多                              [email protected]
Tokyo, Japan (東京 日本)

To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

<Prev in Thread] Current Thread [Next in Thread>
  • Bug#159786: marked as forwarded (gozer produces bad .PPMs), Debian Bug Tracking System <=