[Gimp-developer] shared layer mask or layer mask reference to previous

2008-03-31 Thread Miroslav Talasek
I and my many friends need this feature. We want that layer mask can be as
reference to previous layer as photoshop. I have several layers but i 
wont olny
one mask for some of layer. Simply shared layer mask as photoshop

thanks

-- 
MSc. Miroslav Talasek
Developer, Team leader
Seznam.cz, a.s.
Prague
Czech Republic

tel.:+420 234 694 722
fax: +420 234 694 115
gsm: +420 608 934 724
jabber: [EMAIL PROTECTED]
work-email: [EMAIL PROTECTED]
email: [EMAIL PROTECTED]

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


[Gimp-developer] Question about how Gimp displays multiple layers

2008-03-31 Thread Gregory Hosler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

I'm working on a gtk application, and I have a need to display a composite 
image. i.e. a
base image, with a 2nd (much smaller) image overlaying a part of the bigger 1st 
image.
Periodically I may need to move the smaller image to a different location 
within the
bigger image.

My first attempt was to use the GtkFixed widget, and put both images into the 
GtkFixed
container. The problem I faced is that GtkFixed will always layer the larger 
image on top
of the smaller image (at least this is my observation, and I cannot figure out 
how to
control the layering order for GtkFixed).

In [minimal] playing around with Gimp, I am aware that Gimp has the ability to 
create a
composite image, out of multiple layers. I'm kinda curious as to the algorithms 
(pointers
to within the code welcome), and whether there are widgets that are more suited 
to this,
rather than the GtkFixed (that I could not get to work for me).

I do not mind loading a pixbuf, and then replacing a designated section of it 
with the
smaller image's pixbuf, if that is what it takes... I cannot figure out from 
the gtk
pixbuf devhelp pages how I might achieve this though.

Any thoughts/comments are most welcome.

Thanks, and best rgds,

- -Greg

- --
+-+

Please also check the log file at /dev/null for additional information.
(from /var/log/Xorg.setup.log)

| Greg Hosler   [EMAIL PROTECTED]|
+-+
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFH8NCq404fl/0CV/QRAnelAJ42K0vVFIy/4g6u1CCQGTdu+v2buwCbBpIZ
8xUITPrCcFIJqPbMpCu98Ew=
=lmCC
-END PGP SIGNATURE-
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Question about how Gimp displays multiple layers

2008-03-31 Thread David Gowers
Hello. I cannot address the issue of widgets. Anyway GIMP does not use
widgets to display individual layers, only the final composition,
app/display holds the code IIRC(quite a bit of code -- someone else
might be able to narrow it down further.).
The image is composited and THEN displayed (in one widget). With this
sort of display there really is no reason to try to be clever by doing
things as confusing as you described. You just need to do the
composition (GDK will help you with that) and display the relevant
area of it in an expose handler for your display widget.

In short, this reminds me of when I used to make more work for myself
by being clever about finding ways to reduce the work I needed to do.
Do things the plain way first, try to be clever later if it doesn't
work well enough, OK?

On Mon, Mar 31, 2008 at 10:23 PM, Gregory Hosler [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1

  Hi all,

  I'm working on a gtk application, and I have a need to display a composite 
 image. i.e. a
  base image, with a 2nd (much smaller) image overlaying a part of the bigger 
 1st image.
  Periodically I may need to move the smaller image to a different location 
 within the
  bigger image.

  My first attempt was to use the GtkFixed widget, and put both images into 
 the GtkFixed
  container. The problem I faced is that GtkFixed will always layer the larger 
 image on top
  of the smaller image (at least this is my observation, and I cannot figure 
 out how to
  control the layering order for GtkFixed).

  In [minimal] playing around with Gimp, I am aware that Gimp has the ability 
 to create a
  composite image, out of multiple layers. I'm kinda curious as to the 
 algorithms (pointers
  to within the code welcome), and whether there are widgets that are more 
 suited to this,
  rather than the GtkFixed (that I could not get to work for me).

  I do not mind loading a pixbuf, and then replacing a designated section of 
 it with the
  smaller image's pixbuf, if that is what it takes... I cannot figure out from 
 the gtk
  pixbuf devhelp pages how I might achieve this though.

  Any thoughts/comments are most welcome.

  Thanks, and best rgds,

  - -Greg

  - --
  +-+

  Please also check the log file at /dev/null for additional information.
 (from /var/log/Xorg.setup.log)

  | Greg Hosler   [EMAIL PROTECTED]|
  +-+
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.4.7 (GNU/Linux)

  iD8DBQFH8NCq404fl/0CV/QRAnelAJ42K0vVFIy/4g6u1CCQGTdu+v2buwCbBpIZ
  8xUITPrCcFIJqPbMpCu98Ew=
  =lmCC
  -END PGP SIGNATURE-
  ___
  Gimp-developer mailing list
  Gimp-developer@lists.XCF.Berkeley.EDU
  https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

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


Re: [Gimp-developer] shared layer mask or layer mask reference to previous

2008-03-31 Thread David Gowers
Hi,

It won't happen unless someone puts in the work. GIMP development is
entirely voluntary, so if you want this,
submit a patch to make the necessary changes. Otherwise, you leave it
to chance whether this ever gets implemented. Posting feature requests
here tends to annoy the developers. It is a good place to discuss the
details of a feature you'd like to implement, though.
Only saying 'we need this' will not encourage anyone to work on
implementing it; volunteer coders code because it's fun or personally
rewarding, not because something is wanted by someone else that they
do not know.

On Mon, Mar 31, 2008 at 10:17 PM, Miroslav Talasek
[EMAIL PROTECTED] wrote:
 I and my many friends need this feature. We want that layer mask can be as
  reference to previous layer as photoshop. I have several layers but i
  wont olny
  one mask for some of layer. Simply shared layer mask as photoshop

  thanks

  --
  MSc. Miroslav Talasek
  Developer, Team leader
  Seznam.cz, a.s.
  Prague
  Czech Republic

  tel.:+420 234 694 722
  fax: +420 234 694 115
  gsm: +420 608 934 724
  jabber: [EMAIL PROTECTED]
  work-email: [EMAIL PROTECTED]
  email: [EMAIL PROTECTED]

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

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


Re: [Gimp-developer] shared layer mask or layer mask reference to previous

2008-03-31 Thread Clarence Sparr Risher
Isn't this a feature that is on the [unwritten] won't be implemented
because it will Just Work if we ever get GEGL integrated with GIMP
list?

On 3/31/08, Miroslav Talasek [EMAIL PROTECTED] wrote:
 I and my many friends need this feature. We want that layer mask can be as
  reference to previous layer as photoshop. I have several layers but i
  wont olny
  one mask for some of layer. Simply shared layer mask as photoshop
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Question about how Gimp displays multiple layers

2008-03-31 Thread Bill Skaggs
Gimp handles all this with its own special code, which you most
definitely don't want to try to replicate.

There are several ways to handle this.  Basically the thing you have
to know is that widget drawing happens in response to expose events,
and what you need to accomplish is to make the large widget ignore
exposures that fall within the area of the small widget.  When a
container, such as GtkFixed, is called upon to handle an expose event,
it generates synthetic expose events for each of its children that
overlap the exposed area.  You will need to replace the expose
handler for the large widget with a custom-written one that does what
you require it to.  If you are custom-drawing the large widget, this
should be pretty easy -- you just have to avoid doing any drawing in
the part that lies within the small widget.

I expect you will find this explanation pretty confusing -- the main
thing I am trying to do here is to point you toward expose events as
the thing you need to read about.

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


[Gimp-developer] [GSoC2008] deadline extension

2008-03-31 Thread Alexandre Prokoudine
Hi,

Deadline for student applications submission is officially extended by
one week. The new deadline for student applications is Monday, April
7, 2008. Timeline in FAQ is updated.

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


[Gimp-developer] [GSoC2008] deadline extension

2008-03-31 Thread Zhang Junbo
Is today April 1 ?


On Mon Mar 31 08:43:55 PDT 2008, Alexandre Prokoudine
salexandre.prokoudine at gmail.com wrote:
Hi,

Deadline for student applications submission is officially extended by
one week. The new deadline for student applications is Monday, April
7, 2008. Timeline in FAQ is updated.

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


Re: [Gimp-developer] [GSoC2008] deadline extension

2008-03-31 Thread Omari Stephens
Zhang Junbo wrote:
 Is today April 1 ?
 
 
 On Mon Mar 31 08:43:55 PDT 2008, Alexandre Prokoudine
 salexandre.prokoudine at gmail.com wrote:
 Hi,

 Deadline for student applications submission is officially extended by
 one week. The new deadline for student applications is Monday, April
 7, 2008. Timeline in FAQ is updated.

 Alexandre

(first, please don't top-post)

I presume you're asking if it's a joke that the deadline was extended.  I'm 
very 
confident that it is not -- the deadline was extended last year as well (though 
only by a weekend rather than by an entire week)

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


Re: [Gimp-developer] [GSoC2008] deadline extension

2008-03-31 Thread Alexandre Prokoudine
On Mon, Mar 31, 2008 at 7:51 PM, Zhang Junbo wrote:
 Is today April 1 ?

I'm not sure I understand your question. You can have a look at
calendar to find out, can't you? :)

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


Re: [Gimp-developer] [GSoC2008] deadline extension

2008-03-31 Thread Joshua Stratton
Where did you hear about this extension?  On the timeline it has NOT been
updated to April 1st.

http://code.google.com/opensource/gsoc/2008/faqs.html#0.1_timeline

Thanks,
Josh

On Mon, Mar 31, 2008 at 10:55 AM, Alexandre Prokoudine 
[EMAIL PROTECTED] wrote:

 On Mon, Mar 31, 2008 at 7:51 PM, Zhang Junbo wrote:
  Is today April 1 ?

 I'm not sure I understand your question. You can have a look at
 calendar to find out, can't you? :)

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

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


Re: [Gimp-developer] [GSoC2008] deadline extension

2008-03-31 Thread Alexandre Prokoudine
On Mon, Mar 31, 2008 at 7:55 PM, Omari Stephens wrote:

  I presume you're asking if it's a joke that the deadline was extended.  I'm 
 very
  confident that it is not -- the deadline was extended last year as well 
 (though
  only by a weekend rather than by an entire week)

Sure it's not. Due to various reasons there was a significantly
smaller amount of applications by the time deadline should have
happened. Thus deadline was delayed.

If GIMP developers think they don't have enough proposals (and amount
of slots is somewhat relative to amount of applications), it's time to
do another PR session.

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


Re: [Gimp-developer] [GSoC2008] deadline extension

2008-03-31 Thread Alexandre Prokoudine
On Mon, Mar 31, 2008 at 7:58 PM, Joshua Stratton wrote:
 Where did you hear about this extension?

GSoC Mentors Group.

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


Re: [Gimp-developer] [GSoC2008] deadline extension

2008-03-31 Thread Joshua Stratton
Right, they MAY have extended that, but I'm asking where you heard that.
Can you post a link?  Also, you said the timeline in the FAQ has been
updated accordingly.  From what I have seen it is not.  I'm asking why you
say the timeline marks the change and it doesn't.

Josh

On Mon, Mar 31, 2008 at 10:58 AM, Alexandre Prokoudine 
[EMAIL PROTECTED] wrote:

 On Mon, Mar 31, 2008 at 7:55 PM, Omari Stephens wrote:

   I presume you're asking if it's a joke that the deadline was extended.
  I'm very
   confident that it is not -- the deadline was extended last year as well
 (though
   only by a weekend rather than by an entire week)

 Sure it's not. Due to various reasons there was a significantly
 smaller amount of applications by the time deadline should have
 happened. Thus deadline was delayed.

 If GIMP developers think they don't have enough proposals (and amount
 of slots is somewhat relative to amount of applications), it's time to
 do another PR session.

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

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


Re: [Gimp-developer] [GSoC2008] deadline extension

2008-03-31 Thread Zhang Junbo
About my top-post, it's my fault, I'm sorry for that.
But The FAQ of GSoC
(http://code.google.com/opensource/gsoc/2008/faqs.html#0.1_timeline)
seems wasn't be changed by now.

2008/4/1, Omari Stephens [EMAIL PROTECTED]:
 Zhang Junbo wrote:
   Is today April 1 ?
  
  
   On Mon Mar 31 08:43:55 PDT 2008, Alexandre Prokoudine
   salexandre.prokoudine at gmail.com wrote:
   Hi,
  
   Deadline for student applications submission is officially extended by
   one week. The new deadline for student applications is Monday, April
   7, 2008. Timeline in FAQ is updated.
  
   Alexandre


 (first, please don't top-post)

  I presume you're asking if it's a joke that the deadline was extended.  I'm 
 very
  confident that it is not -- the deadline was extended last year as well 
 (though
  only by a weekend rather than by an entire week)

  --xsdg

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


Re: [Gimp-developer] [GSoC2008] deadline extension

2008-03-31 Thread Alexandre Prokoudine
On Mon, Mar 31, 2008 at 8:01 PM, Joshua Stratton wrote:

 Right, they MAY have extended that, but I'm asking where you heard that.
 Can you post a link?  Also, you said the timeline in the FAQ has been
 updated accordingly.  From what I have seen it is not.  I'm asking why you
 say the timeline marks the change and it doesn't.

I'm beginning to smell some kind of schizophrenia :)

Allright, they haven't updated the FAQ yet - my bad, I was too fast.

Provide a link to a group which is open for mentors only doesn't make
much sense, does it?

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


Re: [Gimp-developer] [GSoC2008] deadline extension

2008-03-31 Thread Joshua Stratton
I wouldn't call it schizophrenia.  You said the timeline was already updated
and was curious why it wasn't.  That's all.

Josh

On Mon, Mar 31, 2008 at 11:06 AM, Alexandre Prokoudine 
[EMAIL PROTECTED] wrote:

 On Mon, Mar 31, 2008 at 8:01 PM, Joshua Stratton wrote:

  Right, they MAY have extended that, but I'm asking where you heard that.
  Can you post a link?  Also, you said the timeline in the FAQ has been
  updated accordingly.  From what I have seen it is not.  I'm asking why
 you
  say the timeline marks the change and it doesn't.

 I'm beginning to smell some kind of schizophrenia :)

 Allright, they haven't updated the FAQ yet - my bad, I was too fast.

 Provide a link to a group which is open for mentors only doesn't make
 much sense, does it?

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

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


Re: [Gimp-developer] [GSoC2008] deadline extension

2008-03-31 Thread Omari Stephens
http://groups.google.com/group/google-summer-of-code-announce/browse_thread/thread/9fa88f31aa401f70

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


Re: [Gimp-developer] [GSoC2008] deadline extension

2008-03-31 Thread Zhang Junbo
I apologize for my precipitancy. I'm sorry.

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


Re: [Gimp-developer] [GSoC2008] deadline extension

2008-03-31 Thread Kevin Cozens
Joshua Stratton wrote:
 Right, they MAY have extended that, but I'm asking where you heard 
 that.  Can you post a link?  Also, you said the timeline in the FAQ has 
 been updated accordingly.  From what I have seen it is not.  I'm asking 
 why you say the timeline marks the change and it doesn't. 

The student application deadline has been updated on the GSoC calendar. It 
hasn't been updated yet on the timeline linked to from the FAQ.

See 
https://www.google.com/calendar/hosted/google.com/embed?src=gsummerofcode%40gmail.comctz=America/Los_Angeles

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |What are we going to do today, Borg?
Owner of Elecraft K2 #2172  |Same thing we always do, Pinkutus:
 |  Try to assimilate the world!
#include disclaimer/favourite |  -Pinkutus  the Borg
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Gimp-developer] GSoC Mentors - make sure you are subscribed to the Mentors mailing list

2008-03-31 Thread Michael Schumacher
Hi there,

everyone who did show an interest in mentoring during this years SoC 
seems to have signed up now.

There is a mentor-only mailing list at 
http://groups.google.com/group/google-summer-of-code-mentors-list

Please do consider to sign up there, as Google will use this list to 
relay important information to the mentors. Also, this is the place 
where mentors of different projects can meet for discussion.


HTH,
Michael

-- 
 GIMP  http://www.gimp.org  | IRC: irc://irc.gimp.org/gimp
 Wiki  http://wiki.gimp.org | .de: http://gimpforum.de
Plug-ins  http://registry.gimp.org |
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Gimp-developer] GSoc Mentors - Greasemonkey script to make student applications readable in Firefox

2008-03-31 Thread Michael Schumacher

Hi,

I guess I'm not the only one who finds the student applications a bit 
hard to read due to the monospace fonts which is used for the abstract 
and description texts.

Fortunately, Google does use a css class to format these parts, and so 
it is rather easy to change the appearance by changing the css rules. 
The script below does this. You'll need Firefox and Greasemonkey, a 
Firefox extension:

http://www.mozilla.com/firefox/

https://addons.mozilla.org/firefox/addon/748

Unfortunately Greasemonkey makes it hard to install existing script 
files (unless they are served from a web page), so creating a new user 
script via the greasmonkey menu and then pasting the following code 
works best:

--- snip ---

// ==UserScript==
// @name   Soc App Fixer
// @namespace  socappfix
// @includehttp://code.google.com/soc/2008/gimp/app.html*
// ==/UserScript==

GM_addStyle(div.app_text { font-family:sans-serif; });

--- snip ---


HTH,
Michael

-- 
 GIMP  http://www.gimp.org  | IRC: irc://irc.gimp.org/gimp
 Wiki  http://wiki.gimp.org | .de: http://gimpforum.de
Plug-ins  http://registry.gimp.org |
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer