Re: [Gimp-user] Transparent image problem

2005-12-10 Thread Andreas Waechter
I have this image that Im laying atop another image. They are both gifs. 
Im using the eraser tool to erase at 47% the image to make it 
transparent but, above 50% its 100% and below 50% its 0% transparent.


Gif only allows full transparency or full opacity.
If you want to have any other values for transparency than 
0% or 100%, you need to use a different file format (e.g. png).
Also, as already mentioned by others, make sure the image is 
in RGB mode.


Andreas
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Re: Golden Letters #2

2005-12-10 Thread Jos van Kan

Michael Henke wrote:

Hi all,

Attachment No. 1 shows the letters that I created in The Gimp, 
Attachment No.2 shows the result after I copy and paste it in Microsoft 
Frontpage.




If you want a transparent background you can't use .jpg because it does not 
support transparency. Use one of the formats that does.


Regards,
--
Jos van Kanregistered Linux user #152704
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Add Glow and Center Layer

2005-12-10 Thread Manish Singh
On Wed, Dec 07, 2005 at 06:20:17PM -0600, Myke C. Subs wrote:
 Aaron Luptak wrote:
 On 12/7/05, Myke C. Subs [EMAIL PROTECTED] wrote:
 
 Aaron Luptak wrote:
 
 
 look at config.log - it found gimptool this time, but had another error.
 
 http://mykec.com/mykec/config.log
 
 Looks like you're missing glib.h - on my SuSE system, it's at
 /opt/gnome/include/glib-2.0/glib.h .  I'd guess it's in the
 glib2-devel package on SuSE.
 
 OK.  glib2-devel wasn't installed on my system.  It is now.
 
 A dependency required pkgconfig to also be installed - so I'm guessing 
 that that takes care of the missing pkg-config which Carol was telling 
 me about.
 
 Thanks, we'll see what happens now.

So, with installing glib2-devel, did that work? If not, install
gtk-devel, pango-devel, and atk-devel as well.

It's rather disappointing that after all these years, SuSE still can't
get their package dependencies right.

-Yosh
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Add Glow and Center Layer

2005-12-10 Thread Manish Singh
On Fri, Dec 09, 2005 at 05:22:10PM -0500, Patrick Shanahan wrote:
 * Carol Spears [EMAIL PROTECTED] [12-09-05 17:05]:
  Maybe Novell could consider rehiring some of their linux staff and
  coming up with a distribution entitled Professionally Enabled.  i
  dunno, it has a certain flair and appeal to it, you think?
 
 You keep referring to 'rehiring .. linux staff'.  I beleive what I
 read indicated that it was not the linux staff (SUSE) that was let go,
 but other divisions.

There were layoffs across all divisions, including the SuSE and Ximian
parts.

An investment bank came out with a report that recommended Novell treat
Linux as a growth market (which it is) and only make cuts on their aging
product lines. This, especially when coming from an investment banking
firm, is surprisingly good long term advice, I'm puzzled why Novell
didn't heed it.

-Yosh
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Script-fu, watermark

2005-12-10 Thread Pavel Sorokin

On Sat, 10 Dec 2005 20:50:12 +0200, peter kostov [EMAIL PROTECTED] wrote:


On Fri, 2005-12-09 at 19:56 +0200, Pavel Sorokin wrote:

I`m totally new to Gimp and Script-fu but I have to do this one thing
using Script-fu.

I need a script (and a batch?) which will read .jpg file names from a  
file

list and mark all of these files with greyscale watermark (aka logo),
which will be place at exact location of those pictures (for example,
lower right corner). Watermark must be read from a .gif file.

As I understand, this is not a very short script and a few pointers  
can`t

help me (as I already said - I`m new to all this), but maybe you will
direct me to some useful (in my case) resources. I`ve been reading
tutorials, going through lots of examples, but can`t get enough
information to do what I need to do.

Thank you!

Hi, I think you better do that with ImageMagick!
Here is a link with explanation how to do exactly what you want:
http://www.cit.gu.edu.au/~anthony/graphics/imagick6/annotating/#watermarking

It works great, I have tried it ;)

Peter


Thanks for advice, but the thing is, I know about this program and some  
other, suitable for this purpose, too... but this is my assignment for a  
class at university. I simply MUST use script-fu, so I had to choose what  
exactly I am going to do using script-fu (from a list of assignments) and  
I decided to do this one - with watermark. Other tasks were not easier.


Thanks anyway!


___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Transparent image problem

2005-12-10 Thread michael chang
On 12/9/05, Wade Smart [EMAIL PROTECTED] wrote:
 12092005 2021 GMT-5

 I have this image that Im laying atop another image. They are both gifs.
 Im using the eraser tool to erase at 47% the image to make it
 transparent but, above 50% its 100% and below 50% its 0% transparent.

I suggest you convert both to RGB format, then paste one atop another,
then erase at 47% transparency (probably saving as GIMP's internal XCF
format if you must stop at any point before you're done).  Then
flatten and export as GIF.

GIF only supports things being transparent or not transparent, so
there is techincally no such thing as 47% transparent in GIF.

You might also want to note the opacity slider in the layers
dialogue... maybe that is of some use?

--
~Mike
 - Just the crazy copy cat.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Add Glow and Center Layer

2005-12-10 Thread michael chang
Trying to answer Pat's cry for a summary...

On 12/5/05, Myke C. Subs [EMAIL PROTECTED] wrote:
 Hello All,

 I've just joined this list.  This is my first post to it.

 I have been a happy GIMPer since 2000 until this year.

 After Red Hat ditched me 2 years ago, I switched to Mandrake 8.2 and
 didn't like it.  So this year I switched to SuSE 9.2 Pro and I like it a
 *lot* - except for the fact that the GIMP upgrade which comes with my
 distribution no longer includes my two long-time, most-used features:
 Filters-Render-Add Glow and Layers-Center Layer.

 Where have these gone and how do I get them back?  Especially Add
 Glow... I *require* that one!

Let's see if it's possible to sum up this thread to-date...

These two features require a component with gimp known as gimp-perl,
which is the perl extension to the GIMP.  This allows one to use
plugins which are written in perl, of which these are two.

It seems that SUSE 9.2 does not appear to have a binary package for
the latest version of gimp-perl (or at least a version compatable with
the version of gimp you are using).  Futhermore, the version of GIMP
and GIMP development packages bundled with SUSE 9.2 does not appear to
support building this plugin, probably due to an incompatability or
other modification made somewhere that breaks gimp-perl's build
system.

At this point, you have a couple of options:

1. Reverse the change that caused the problem.

If upgrading to a 2.x revision of GIMP caused the problem, downgrading
to the previous version you had where this problem wasn't exhibited
will solve the problem.  This assumes your distribution allows
downgrading.

2. Build GIMP, GIMP-perl and their dependencies from souce

The development packages in your distribution seem somewhat unique,
and gimp-perl's build system doesn't recognize them.  The lack of a
_binary_ package for what you are looking for indicates that the only
way to get the functionality may to be build it and its dependencies
from source. It may be suitable, then, to build GIMP related binaries
and libraries from source, such as GTK+, Pango, GIMP, gimp-perl, and
the like.

3. Switch to a different distribution.

Various other distributions are known not to have this problem. 
Reported examples include Debian and Ubuntu, and others may be an
option as well.  Investigate your alternative thoroughly before
exploring this option as it may be time consuming.

--
~Mike
 - Just the crazy copy cat.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Script-fu, watermark

2005-12-10 Thread michael chang
On 12/9/05, Pavel Sorokin [EMAIL PROTECTED] wrote:
 I`m totally new to Gimp and Script-fu but I have to do this one thing
 using Script-fu.

 I need a script (and a batch?) which will read .jpg file names from a file
 list and mark all of these files with greyscale watermark (aka logo),
 which will be place at exact location of those pictures (for example,
 lower right corner). Watermark must be read from a .gif file.

 As I understand, this is not a very short script and a few pointers can`t
 help me (as I already said - I`m new to all this), but maybe you will
 direct me to some useful (in my case) resources. I`ve been reading
 tutorials, going through lots of examples, but can`t get enough
 information to do what I need to do.

Basically, what you need to do is to use a loop to run through the
images, open them, apply the watermark, save, and close them.

Applying the watermark probably would be easiest by copying the
watermark from one image into a new semitransparent layer onto the
destination image, positioned as necessary.

If all the images have similar names, (even if that similarity is just
that the end in .jpg) then a good way to automate getting the list of
files would be to use GLOB.

A useful resource might be the Procedure Browser in GIMP (Xtns menu on
main window in 2.2.x) - which lists commands and shows their
arguments.  (It lets you search through the functions.)  The only
other things you'd probably need are the knowledge that although the
Prodcedure Browser lists function names with underscores, Script-Fu
seperates words with dashes (e.g. (gimp_file_load ...) becomes
(gimp-file-load ...)) and that all parameters are returned inside
lists regardless of number (so you have to use car and cdr and the
like to get at the contents).

I wish you good luck, as the insane bracket-counting I witnessed with
Script-Fu was maddening when trying to debug anything.  [GIMP's
Script-Fu doesn't report errors very well, so you have to mostly
figure out the problem by reading the code and spotting mistakes with
no assistance.]  Have fun!

--
~Mike
 - Just the crazy copy cat.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Add Glow and Center Layer

2005-12-10 Thread BandiPat
On Saturday 10 December 2005 20:12, michael chang wrote:
 Trying to answer Pat's cry for a summary...
[...]
 --
 ~Mike
  - Just the crazy copy cat.


Thanks Mike for the reprint.  Also, no need to send out two mails.  I'm 
on this list, so read the list mail.  One mail to the list will 
suffice.

Sounds like the OP is confused at what they need to get things compiled.  
I'm sure all the chatter about how to solve it and the debate on 
distros has cleared things up considerably too.  (not)  ;o)

I'm guessing if SuSE thought it was needed, it would be installed as a 
dependency or be available to install for compiling.  They are pretty 
efficient like that.

To Manish Singh:
SuSE and YaST2 work as well or better than any other file install 
utility at solving dependencies.  Thing you fail to realize is that 
-devel files are not dependencies.  The main files don't need the 
-devel files to operate, nor does the system.  They are only needed if 
the user intends to compile things.  The best thing to do when 
installing any Linux is to just include -devel files or add them at 
install time.  

later,
Pat
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Add Glow and Center Layer

2005-12-10 Thread BandiPat
On Saturday 10 December 2005 13:50, Manish Singh wrote:
[...]
 So, with installing glib2-devel, did that work? If not, install
 gtk-devel, pango-devel, and atk-devel as well.

 It's rather disappointing that after all these years, SuSE still
 can't get their package dependencies right.

 -Yosh
 ___

Yosh,
Those statements are just plain silly.  Obviously you know very little 
about SuSE or didn't put much thought into those two sentences before 
sending out the mail.

end of line
Pat
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user