Re: [Gimp-user] trace script-fu commands while using GUI

2007-11-10 Thread Manish Singh
On Sat, Nov 10, 2007 at 06:17:25PM +0100, Juergen Weber wrote:
> On Nov 9, 2007 12:05 AM, Michael Schumacher <[EMAIL PROTECTED]> wrote:
> > Greg wrote:
> > >> That isn't possible at this time. What you are asking for is along
> > >> the lines of what is asked for in GIMP bug #51937.
> > >>
> > >> See http://bugzilla.gnome.org/show_bug.cgi?id=51937
> > >
> > > Which was posted in '01.  Perhaps it's time to revisit this request?
> >
> > Reading the comments would be a good start if you want to give it a try.
> > They'll give you an idea of the difficulties that you'll encounter.
> >
> 
> Well, in http://bugzilla.gnome.org/show_bug.cgi?id=51937#c14 Rapha?l
> Quinet says, he allready was working on the feature, whereas in
> http://bugzilla.gnome.org/show_bug.cgi?id=51937#c6 Hans Breuer
> appended some code.
> 
> So the situation doesn't seem so bleak, does it?
> 
> If you have this great concept of a script-callable api, it seems
> tantalizingly close to use the api from a script recorder, too.

How is that close? The UI has to be refactored to use that API as well,
which is 80% of the work. It's a large job, and none of the code in bug
even touches upon that. You also have to solve the problem of
translating tool mouse movements into API calls efficiently.

It's pretty rude to imply that something is easy when you haven't even
taken the time to actually think through how much work is involved.

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


Re: [Gimp-user] trace script-fu commands while using GUI

2007-11-10 Thread Juergen Weber
On Nov 9, 2007 12:05 AM, Michael Schumacher <[EMAIL PROTECTED]> wrote:
> Greg wrote:
> >> That isn't possible at this time. What you are asking for is along
> >> the lines of what is asked for in GIMP bug #51937.
> >>
> >> See http://bugzilla.gnome.org/show_bug.cgi?id=51937
> >
> > Which was posted in '01.  Perhaps it's time to revisit this request?
>
> Reading the comments would be a good start if you want to give it a try.
> They'll give you an idea of the difficulties that you'll encounter.
>

Well, in http://bugzilla.gnome.org/show_bug.cgi?id=51937#c14 Raphaël
Quinet says, he allready was working on the feature, whereas in
http://bugzilla.gnome.org/show_bug.cgi?id=51937#c6 Hans Breuer
appended some code.

So the situation doesn't seem so bleak, does it?

If you have this great concept of a script-callable api, it seems
tantalizingly close to use the api from a script recorder, too.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Digital Watercolor effect in GIMP?

2007-11-10 Thread Jürgen Hubert

- Original Message - 
From: "Aurore D." <[EMAIL PROTECTED]>
To: 
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, November 10, 2007 3:56 PM
Subject: Re: [Gimp-user] Digital Watercolor effect in GIMP?


> Hi,
>
> On 10/11/2007, Jürgen Hubert wrote:
>> When reading about Corel Painter, I've frequently come across a so-called
>> "Digital Watercolor" effect, which apparently simulates how wet paint
>> behaves when you apply color to a canvas - the "virtual pigments" are
>> gradually diffused across the surface of the paper and then absorbed into 
>> it
>> over time.
>>
>> This sounded pretty fascinating, and I was wondering if anyone has 
>> attempted
>> to create the same effect with GIMP.
>
> You may want to take a look at Wetdream by Raph Levien:
> http://www.levien.com/gimp/wetdream.html
>
> As far as I know, it's still not in GIMP, but the author explains
> quickly some of the integration problems, because of the difference in
> the way pixels are stored.

Hmmm. That page is dated to September 4th 2001, which isn't encouraging. No
one else has attempted to do anything like this since?

- Jürgen Hubert

The Art Tutorials Wiki - catering to everything an artists needs to know!
http://artwiki.wikidot.com

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


Re: [Gimp-user] Trouble calling running batch script in Windows XP

2007-11-10 Thread saulgoode
I do not believe that single-quoting a command line argument in Windows
works the same as BASH (Linux). Try using double-quotes and escape any
double-quotes which appear in your argument:

gimp -i -b "(batch-CUPify \"*.png\")" -b "(gimp-quit 0)"

If you include directories in your path, also escape your backslashes:

gimp -i -b "(batch-CUPify \"D:\\Documents and
Settings\\spk30\\Desktop\\alison_sl1_dear_friend_backup\\*.png\")" -b
"(gimp-quit 0)"

You may need to experiment as I do not run Windows and have no way of
testing the commands.


> I am using GIMP 2.4.1 on Windows XP, and I am trying to run the script by
> going to the command prompt, changing to a directory full of .png files I
> want to process with the script, and entering the command:
>
> gimp-2.4 -i -b '(batch-CUPify "*.png")' '(gimp-quit 0)'
>
> This gives me the following messages:
>
> "GIMP-Error: Opening 'D:\Documents and
> Settings\spk30\Desktop\alison_sl1_dear_fri
> end_backup\*.png)'' failed: Invalid argument
>
> GIMP-Error: Opening 'D:\Documents and
> Settings\spk30\Desktop\alison_sl1_dear_fri
> end_backup\'(gimp-quit' failed: No such file or directory
>
> GIMP-Error: Opening 'D:\Documents and
> Settings\spk30\Desktop\alison_sl1_dear_fri
> end_backup\0)'' failed: No such file or directory
>
> No batch interpreter specified, using the default
> 'plug-in-script-fu-eval'.
> batch command: executed successfully."
>
>
> I would be very grateful for any help you can offer.
>
> Many thanks in advance,
>
> Sam
> ___
> Gimp-user mailing list
> Gimp-user@lists.XCF.Berkeley.EDU
> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
>


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


Re: [Gimp-user] Digital Watercolor effect in GIMP?

2007-11-10 Thread Aurore D.
Hi, 

On 10/11/2007, Jürgen Hubert wrote:
> When reading about Corel Painter, I've frequently come across a so-called 
> "Digital Watercolor" effect, which apparently simulates how wet paint 
> behaves when you apply color to a canvas - the "virtual pigments" are 
> gradually diffused across the surface of the paper and then absorbed into it 
> over time.
> 
> This sounded pretty fascinating, and I was wondering if anyone has attempted 
> to create the same effect with GIMP. 

You may want to take a look at Wetdream by Raph Levien:
http://www.levien.com/gimp/wetdream.html

As far as I know, it's still not in GIMP, but the author explains
quickly some of the integration problems, because of the difference in
the way pixels are stored.


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


[Gimp-user] GIMP on Mac OX X Leopard

2007-11-10 Thread Victor Domingos
Does anyone know if it is possible to compile GIMP (MacPorts) on  
Leopard (PPC)? I've tried, but I am getting errors during that  
process...

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


[Gimp-user] Digital Watercolor effect in GIMP?

2007-11-10 Thread Jürgen Hubert
When reading about Corel Painter, I've frequently come across a so-called 
"Digital Watercolor" effect, which apparently simulates how wet paint 
behaves when you apply color to a canvas - the "virtual pigments" are 
gradually diffused across the surface of the paper and then absorbed into it 
over time.

This sounded pretty fascinating, and I was wondering if anyone has attempted 
to create the same effect with GIMP. Or would it require too radical a 
rewrite of the code? After all, currently GIMP assumes that it doesn't 
matter _when_ you make a certain stroke with the virtual pen; it doesn't 
matter if you do a certain stroke two seconds or two minutes after the 
previous one - the result will be the same. But to implement such an effect, 
some kind of time-sensitive mechanism would have to be included - or at 
least, that's my impression from reading about it...

- Jürgen Hubert

The Art Tutorials Wiki - catering to everything an artists needs to know!
http://artwiki.wikidot.com 

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