Re: [Gimp-user] Gimp, transparent PNGs and Internet Explorer
Hi Carol, Quoting Carol Spears [EMAIL PROTECTED]: On Wed, Aug 04, 2004 at 04:07:41PM +0200, Dave Neary wrote: All PNGs produced in the GIMP display correctly in IE. This is because we basically have the same design flaw as them - we assumed everything transparent would be a GIF, so in the GIMP we do transparency with 255 palette entries being totally opaque, and one palette entry being transparency. this is not true. gimp makes perfectly good pngs with alpha blending whatever the technical term is. Yup, and I was talking through my hat when I was talking about IE supporting them. if you index an image, you get that problem. that is how indexing works. it has nothing to do with gimp. Actually, no. That's how indexing works in the GIMP. But it is possible to have alpha-blended indexed images in PNG. PNG indexes may have an RGBA value, as opposed to just the RGB value that we limit things to. Here's the bug jimmac opened about this, with a couple of examples of indexed pngs with nice alpha channels. http://bugzilla.gnome.org/show_bug.cgi?id=86627 Cheers, Dave. -- Dave Neary Lyon, France ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Gimp, transparent PNGs and Internet Explorer
Hi again, Quoting Dave Neary [EMAIL PROTECTED]: All PNGs produced in the GIMP display correctly in IE. Excuse me, this is just wrong :) For other programs, here are the tips you asked for: 1) alpha works fine in 32 bit pngs This is wrong too. Even with 32 bit RGBA PNGs, IE doesn't display them correctly. I don't know what I was thinking. Cheers, Dave. -- Dave Neary Lyon, France ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
[Gimp-user] script-fu text
I've got some script's I'm porting over from 1.2 to 2.0. (I'm using the windows version, if it makes a difference.) There have been some changes, but I've gotten the scripts working again. I had to add an alpha channel to my layers so I could raise/lower them, add gimp-edit-fill after gimp-edit-clear because of the alpha layer. I also had to change how I created my text layers, using gimp-text-fontname instead of gimp-text: (tLayer (car (gimp-text myImage -1 0 0 inText -1 TRUE 110 1 * Myriad Roman bold roman normal * * *))) Changed to: (tLayer (car (gimp-text-fontname myImage -1 0 0 inText -1 TRUE 13 1 Myriad Bold))) Calling it is easier (no foundry or anything to remember), and the text is close, but not close enough. I can actually get it right if I disable Hinting in the text tool options if I manually create the image, but there doesn't appear to be any way to control the hinting via script-fu. Is there some way I can set it to disabled globally so it will be disabled in script-fu too? I have to create a *lot* of these images, so help would be much appreciated! -- Mark R. Andrachek, Jr. [EMAIL PROTECTED] ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
[Gimp-user] EXIF-data not saved
Hello, the checkbox Save EXIF data is activated, but after saving the file doesn't contain EXIF data any longer. GIMP 2.0.3 Win32 Greets, Oskar ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] EXIF-data not saved
Hi Oskar, Check that you have libexif installed, and that your JPEG plug-in is linked to it. Cheers, Dave. Quoting Oskar Eyb [EMAIL PROTECTED]: Hello, the checkbox Save EXIF data is activated, but after saving the file doesn't contain EXIF data any longer. GIMP 2.0.3 Win32 Greets, Oskar ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user -- Dave Neary Lyon, France ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Gimp, transparent PNGs and Internet Explorer
hi dave, On Thu, Aug 05, 2004 at 09:01:45AM +0200, Dave Neary wrote: Actually, no. That's how indexing works in the GIMP. But it is possible to have alpha-blended indexed images in PNG. PNG indexes may have an RGBA value, as opposed to just the RGB value that we limit things to. Here's the bug jimmac opened about this, with a couple of examples of indexed pngs with nice alpha channels. http://bugzilla.gnome.org/show_bug.cgi?id=86627 this makes no sense to me. it might be because i do not understand alpha. the way i understand it is that each pixel is assigned a number that represents a color so you might be talking about (a light just turned on) a number that represents a color that has four parts. doh. except when you are still limited to 256 this will really effect the actual colors and make the image less eh, colorful after the indexing is done. meaning if all those shades of alpha need a different color from the 256 that can be used then less real colors can be used. is this how that works? carol ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Gimp, transparent PNGs and Internet Explorer
Hi Carol, Carol Spears wrote: this makes no sense to me. it might be because i do not understand alpha. the way i understand it is that each pixel is assigned a number that represents a color That's right. The number is between 0 and 255. And that number gets mapped to the full color (that is, an RGB triplet in the GIMP). But there is no reason why this index could not refer to a different colour, say an RGBA color. So that a 50% opaque red could be part of your palette in index 23 (for example). so you might be talking about (a light just turned on) a number that represents a color that has four parts. Yup :) That's the one. doh. except when you are still limited to 256 this will really effect the actual colors and make the image less eh, colorful after the indexing is done. meaning if all those shades of alpha need a different color from the 256 that can be used then less real colors can be used. is this how that works? Well, kind of... since there are 256*256*256 RGB colors, and 256*256*256*256 RGBA colors, you end up with certain types of images that index less well, because you're picking 256 colors from a bigger set. But most images would do quite well. And you always have the option of throwing away the alpha channel, or thresholding it, if you want. Cheers, Dave. -- David Neary, Lyon, France E-Mail: [EMAIL PROTECTED] CV: http://dneary.free.fr/CV/ ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] EXIF-data not saved
Oskar Eyb wrote: Hello, the checkbox Save EXIF data is activated, but after saving the file doesn't contain EXIF data any longer. GIMP 2.0.3 Win32 Yes, you are right that it does not work: this is one of the main reasons why Gimp 2.0.4 is going to be released very soon -- in the next few days. It worked in 2.0.2, and it will work again in 2.0.4. See http://bugzilla.gnome.org/show_bug.cgi?id=148632 for more information. Best, -- Bill __ __ __ __ Sent via the KillerWebMail system at primate.ucdavis.edu ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] EXIF-data not saved
On Thu, Aug 05, 2004 at 01:09:23PM -0700, William Skaggs wrote: thanks for you reply. Yes, you are right that it does not work: this is one of the main reasons why Gimp 2.0.4 is going to be released very soon -- in the next few days. It worked in 2.0.2, and it will work again in 2.0.4. Okay, I'll look for updates. Oskar ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] script-fu text
Ok, turns out, I need to do both hinting and kerning (the letter spacing was off too). So, some searching found that I need to use plug-in-freetype, which takes care of all of this, and produces *perfect* text for me, at least in interactive mode. I seem unable to specify the font_file correctly to be able to call it in non-interactive mode though. The font file name is actually wmb_.pfm. I've tried that, with and without the full path (c:\Windows\fonts\wmb_.pfm), and I've tried the font name by itself (Myriad Bold). I am able to select the font correctly in interactive mode. Any hints here? -- Mark R. Andrachek, Jr. [EMAIL PROTECTED] ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] EXIF-data not saved
Hi, Oskar Eyb [EMAIL PROTECTED] writes: the checkbox Save EXIF data is activated, but after saving the file doesn't contain EXIF data any longer. GIMP 2.0.3 Win32 That's a known problem in GIMP 2.0.3 and it will be fixed in the upcoming 2.0.4 release. Sven ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] script-fu text
Hi, Mark Andrachek, Jr. [EMAIL PROTECTED] writes: I've got some script's I'm porting over from 1.2 to 2.0. (I'm using the windows version, if it makes a difference.) There have been some changes, but I've gotten the scripts working again. I had to add an alpha channel to my layers so I could raise/lower them, add gimp-edit-fill after gimp-edit-clear because of the alpha layer. I also had to change how I created my text layers, using gimp-text-fontname instead of gimp-text: (tLayer (car (gimp-text myImage -1 0 0 inText -1 TRUE 110 1 * Myriad Roman bold roman normal * * *))) Changed to: (tLayer (car (gimp-text-fontname myImage -1 0 0 inText -1 TRUE 13 1 Myriad Bold))) Calling it is easier (no foundry or anything to remember), and the text is close, but not close enough. Noone promised that 2.0 would create the same text output. Actually it has even been promised that it would definitely not create the same output. Simply because text rendering in 1.2 sucked a lot. I can actually get it right if I disable Hinting in the text tool options if I manually create the image, but there doesn't appear to be any way to control the hinting via script-fu. Is there some way I can set it to disabled globally so it will be disabled in script-fu too? No, there is (currently) no way to do that but hacking the gimp sources. Sven ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] script-fu text
Hi, Mark Andrachek, Jr. [EMAIL PROTECTED] writes: So, some searching found that I need to use plug-in-freetype, which takes care of all of this, and produces *perfect* text for me, at least in interactive mode. I seem unable to specify the font_file correctly to be able to call it in non-interactive mode though. The font file name is actually wmb_.pfm. I've tried that, with and without the full path (c:\Windows\fonts\wmb_.pfm), and I've tried the font name by itself (Myriad Bold). I am able to select the font correctly in interactive mode. You need to specify the full path to the font file. gimp-freetype doesn't use any .pfm files so you are simply passing the wrong filename here. Sven ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
[Gimp-user] ANNOUNCE: GIMP 2.0.4
Hi, GIMP version 2.0.4, the 'GIMP Tipsy' release is now available from ftp://ftp.gimp.org/pub/gimp/v2.0/. Please use one of the mirrors listed at http://www.gimp.org/downloads/#mirrors This is a bug-fix release in the stable 2.0 series. A number of build issues and bugs have been fixed since GIMP 2.0.3. Here's a detailed list of improvements: - several build fixes (#147799, #148813, #147013) - fixed bug in Polarize plug-in (#147799) - fixed out-of-bounds access in Ink tool code (#144856) - improved antialiasing of elliptical selections (#147836) - fixed typo in gradient editor (#148300) - really remove all associated items from the ID hash table when an image is being closed (#148614) - work around integer overflows when transforming large drawables (#128594) - fixed wrong EXIF handling in JPEG plug-in, a bug that has been introduced in 2.0.3 (#148632) - fixed bug in Script-Fu extension (bug #148729) - fixed crash in container grid views (bug #148955) - handle changes to URI handling in newer glib releases (bug #148140) Thanks to all the people who have helped us to improve GIMP 2.0 further. This includes the developers who sent patches but also all the users who submitted useful bug reports. Please keep up the good work. Stay Tipsy, Sven ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] script-fu text
I seem unable to specify the font_file correctly to be able to call it in non-interactive mode though. The font file name is actually wmb_.pfm. I've tried that, with and without the full path (c:\Windows\fonts\wmb_.pfm), and I've tried the font name by itself (Myriad Bold). I am able to select the font correctly in interactive mode. Any hints here? Well, I figured this one out on my own too. In my user directory was a dotfile (fonts-cache or something, not sitting in front of it right now) containing the list of font files and their properties. Using the exact text specified there for the font-file and it works. Changing the case of a single letter, and it breaks. Just a unix/win32 difference. -- Mark R. Andrachek, Jr. [EMAIL PROTECTED] ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
[Gimp-user] Selection woes...
I have been trying (w/ use of the help screens) to do what I /thought/ would be a simple operation. I have an image w/ some text in it. I want to move *each* letter over by 2 pixels (to accomodate an outline). So here is what I do: 1. Select all 2. move image (good) 3. C+select to remove the first letter 4. move image (good) 5. notice that gimp shrink wrapped the selection to just the letters (leaving out the transparent areas) 6. C+select to remove the second letter 7. notice that ALL the letters disappear (but have marching ants on them) 8. notice that the letter I just (presumably) de-selected still has marching ants shrink warpped on it too 9. move the selection 10. notice that ALL the letters move, including the on I /tried/ to de-select Doh! I could anchor the selection and reselect the remaining text. But I'd have to do that 30 - 40 times (not!). While extremely zoomed in (not!). I do not understand how selection tools change from normal when a selection is active. I also do not understand /why/ selection tools change from normal. I tried several of the select tool buttons (e.g. subtract from current selection), but to no avail. For those of you still reading g, here is the big picture. I have some text and a background (American flags). I captured both from my website. I put both in layers. I made the text be difference (as I recall) and the flags be normal. Bam, a good looking title with the font stroked in a flag motif. The only problem is that the font has a lot of white pixels (you know, the stripes) on the edge of the letters and my website uses a white background (not good). So I tried to put some space in between the letters (hence my question) and manually outline the letters. If there is a quicker way (say instead of the text tool filling w/solid colors, but instead w/ a gif) then I'd appreciate the help. If not, then am I just a moron gimp user (probably yes). But what is up w/ the selection tools when the selection is active??? ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user