[Gimp-user] transparent pixels while alpha channel?
Thank you Michael Schumacher for helping me on the IE transparent pixel problem last time. Now I have a question: is it possible to create a png file with indexed color, with transparent pixels, while still have an alpha channel, so that the png file display alpha channel on cool browsers like Mozilla, while display transparent pixels on some inferior browser like IE as a fall-back mechanism? If GIMP cannot do it, can it be done in theory? I know the question might be silly, because I can dig it out by RTFM. But I just wish a quick answer so I don't have to waste time on impossible things:) ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
[Gimp-user] Re: transparent pixels while alpha channel?
[EMAIL PROTECTED] (2004-04-11 at 2223.38 +0800): I know the question might be silly, because I can dig it out by RTFM. RTFPS, P of PNG and S of Spec. But I think GIMP does not support saving indexed images in which the palette items are RGBA instead of RGB. You could have tried, convert to index and see if GIMP keeps all transparent areas or not. GSR ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] transparent pixels while alpha channel?
Hi, Zhang Weiwu [EMAIL PROTECTED] writes: Thank you Michael Schumacher for helping me on the IE transparent pixel problem last time. Now I have a question: is it possible to create a png file with indexed color, with transparent pixels, while still have an alpha channel, so that the png file display alpha channel on cool browsers like Mozilla, while display transparent pixels on some inferior browser like IE as a fall-back mechanism? If GIMP cannot do it, can it be done in theory? I know the question might be silly, because I can dig it out by RTFM. But I just wish a quick answer so I don't have to waste time on impossible things:) The PNG file format supports it but GIMP can't create such files and I have no idea how IE would render them From http://www.libpng.org/pub/png/pngintro.html: But PNG supports alpha information with palette images as well; it's just slightly harder to implement in a smart way. A PNG alpha-palette image is just that: an image whose palette also has alpha information associated with it, not a palette image with a full alpha mask. In other words, each pixel corresponds to an entry in the palette with red, green, blue and alpha components. So if you want to have bright red pixels with four different levels of transparency, you must use four separate palette entries to accommodate them. (All four entries will have identical RGB components, but the alpha values will differ.) If you want all of your colors to have four levels of transparency, you've effectively reduced your total number of available colors from 256 to 64. Sven ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] transparent pixels while alpha channel?
Zhang Weiwu wrote: Thank you Michael Schumacher for helping me on the IE transparent pixel problem last time. Now I have a question: is it possible to create a png file with indexed color, with transparent pixels, while still have an alpha channel, so that the png file display alpha channel on cool browsers like Mozilla, while display transparent pixels on some inferior browser like IE as a fall-back mechanism? If GIMP cannot do it, can it be done in theory? Likely your best solution, although a pain in the posterior, would be to create two images and then use a bit of javascript to present the proper image depending on the browser... -- Until later, Geoffrey Registered Linux User #108567 Building secure systems in spite of Microsoft ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
[Gimp-user] fontconfig and gimp
Hi, I have something weard : i just installed gimp 2.0, once tried from .deb, once from source. When I open gimp i receive the following message : gimp message : fontconfig version too old, The GIMP requires fontconfig version 2.2.0 or later. Installed fontconfig version is 1.0.2. Somehow you or your software packager managed to install The GIMP with an older fontconfig version. Please upgrade to fontconfig version 2.2.0 or later. This is really strange, since i have version 2.2.2 of fontconfig dpkg -l fontconfig ii fontconfig 2.2.2-2generic font configuration library Anybody has an idea ? (I have Xfree4.2.1) Greetings, Johan ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] fontconfig and gimp
On Sun, Apr 11, 2004 at 08:18:43PM +0200, johan wrote: Hi, I have something weard : i just installed gimp 2.0, once tried from .deb, once from source. When I open gimp i receive the following message : gimp message : fontconfig version too old, The GIMP requires fontconfig version 2.2.0 or later. Installed fontconfig version is 1.0.2. Somehow you or your software packager managed to install The GIMP with an older fontconfig version. Please upgrade to fontconfig version 2.2.0 or later. This is really strange, since i have version 2.2.2 of fontconfig dpkg -l fontconfig ii fontconfig 2.2.2-2generic font configuration library Anybody has an idea ? (I have Xfree4.2.1) You have more than one fontconfig library on your system. The debian one is in /usr/lib, you likely have another one in /usr/X11R6/lib or /usr/local/lib. You can run ldd on the gimp binary to find the path of the library it's using. This message has been improved for 2.0.1 to clarify this situation, because it seems quite some number of naughty people don't keep track of what they installed on their system by hand.. -Yosh ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user