[Gimp-developer] gimp-gap 2.6 ahead

2009-05-26 Thread wolfgang hofer
for your information: We have created a gap-2-6 branch and intend to do
a 2.6.0 release of the GIMP Animation package in about a week.
It will contain improvements in storyboard editing and processing
and video encoding that now was updated to use ffmpeg0.5 as main
engine for encoding and decoding vedeofiles.
Lots of fixes have been done to make GAP work better with
the GIMP 2.6 release.

Developers and users, please give the gap-2-6 branch some testing and
make sure that any problems are reported at bugzilla.gnome.org for the
gimp-gap product.

Translators, please update the information on l10n.gnome.org and help us
to ship gimp-gap 2.6.0 with lots of uptodate translations.

Thanks a lot for your attention.
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Gimp-developer] Registration of LAST_VALUES Bufferstructure

2002-04-23 Thread wolfgang hofer

Hi

I'm currently porting the plug-ins/gap to gimp.1.3.x 
and want to discuss GAP's 'Filter all Layers' function.


'Filter all Layers'
Can call any PDB-Procedure automatical for each layer of an Image
with varying (or constant) values and helps to create Animation Effects.

(a similar function can apply any PDB-Procedure to one (or more) specified Layers
in all frame images of an Animation)

Problems of the old Implementation:
(gimp-1.2.x/plug-ins/gap)

1) DB-Browser Dialog showed many Procedures that did not work
   with Filter all Layers.

2) The Alternative Iterator Procedures are a 
   Maintainance Problem.
   (lots of Code that needs to be checked or updated
each time one of the Plug-Ins are changed)


The current Implementation-step  (gap-1.3.5a_pre22)
comes with a patch for libgimp.
Both gap and the patch are available at

  http://wolfganghofer.tripod.com/gap/gap.html


This Patch allows Plug-Ins to register the structure
of the LAST-Values Buffer.

The new Filter All Layers DB-Browser shows only
PDB-Procedures that have typical Parameters
(run_mode, image, drawable) AND

a) did register the structure of the LAST-Values Buffer
   (if none of the Parameters are marked for iteration,
or there are no parameters at all
   the Apply Varying Button is disabled)

b) have its own Iterator Procedure.


One Common Iterator Procedure now reads the
registrated structure and replaces all ITER_ALT
Procedures of the old Implementation.


The current 'Filter All Layers' redesign is not finished yet.

- 'Filter All Layers' should be able to call more
  of the PDB-procedures in the automatic style
  but can't in the current gap-implementation because they
  - do not use a LAST-Values Buffer
  - show up a Dialog when called in Rumode with LAST_VALUES
(example: perl_fu_clear_alpha)
  - have no PDB-API to run INTERACTIVE when called
from a Plug-In
(examples are Core-Tools for Colormanipulation Levels, Curves..)


- The Code of plug-ins/gap/gap_dbbrowser_utils.c 
  is nearly the same as  plug-ins/dbbrowser/dbbrowser_utils.c
  
  (what about a common widget in libgimp that can be used
   in both Plug-Ins ?)
  

Discussions about the patch for libgimp
and about Filter All Layers redesign are welcome.
  
  
Wolfgang Hofer  <[EMAIL PROTECTED]>




See Dave Matthews Band live or win a signed guitar
http://r.lycos.com/r/bmgfly_mail_dmb/http://win.ipromotions.com/lycos_020201/splash.asp
 
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer



[Gimp-developer] PDB API Requests for GIMP Video Menu (GAP)

2002-03-17 Thread wolfgang hofer
image_id = load_image(from discfile with frame_nr);
  layer_id = gimp_image_flatten(tmp_img_id);

  gimp_image_remove_layer(tmp_image_id, layer_id);
  gimp_drawable_set_image(layer_id, dest_image_id);
  gimp_image_add_layer (dest_image_id, layer_id, 0); 
  gimp_image_delete(tmp_image_id);   
  }
  

 A new API that combines the steps  
gimp_image_remove_layer + 
gimp_drawable_set_image
 could look like this:

gboolean  gimp_layer_new_move(gint32 dst_image_ID,
  gint32 src_layer_ID);
   
   /* dst_image_ID  : the destination image
* src_layer_ID  : the source layer (must be in another image,
* but type must be same as dst_image_ID)
* This procedure removes the src_layer from it's image and
* prepares theis layer to be added to the specified
* destination image.
* TRUE is returned on success, FALSE otherwise.
* The new layer still needs to be added to the dst_image,
* as this is not automatic. Add the new layer with the
* 'gimp_image_add_layer' command. Other attributes
* such as layer mask modes, and offsets should
    * be set with explicit procedure calls.
*/

 

Yours Wolfgang Hofer.


PS: Other ideas and tips how to port GAP to GIMP-1.3 are welcome.




2,000,000,000 Web Pages--you only need 1. Save time with My Lycos.
http://my.lycos.com
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer



[Gimp-developer] PDB API Requests for GIMP Video Menu (GAP)

2002-03-17 Thread wolfgang hofer
image_id = load_image(from discfile with frame_nr);
  layer_id = gimp_image_flatten(tmp_img_id);

  gimp_image_remove_layer(tmp_image_id, layer_id);
  gimp_drawable_set_image(layer_id, dest_image_id);
  gimp_image_add_layer (dest_image_id, layer_id, 0); 
  gimp_image_delete(tmp_image_id);   
  }
  

 A new API that combines the steps  
gimp_image_remove_layer + 
gimp_drawable_set_image
 could look like this:

gboolean  gimp_layer_new_move(gint32 dst_image_ID,
  gint32 src_layer_ID);
   
   /* dst_image_ID  : the destination image
* src_layer_ID  : the source layer (must be in another image,
* but type must be same as dst_image_ID)
* This procedure removes the src_layer from it's image and
* prepares theis layer to be added to the specified
* destination image.
* TRUE is returned on success, FALSE otherwise.
* The new layer still needs to be added to the dst_image,
* as this is not automatic. Add the new layer with the
* 'gimp_image_add_layer' command. Other attributes
* such as layer mask modes, and offsets should
    * be set with explicit procedure calls.
*/

 

Yours Wolfgang Hofer.


PS: Other ideas and tips how to port GAP to GIMP-1.3 are welcome.




2,000,000,000 Web Pages--you only need 1. Save time with My Lycos.
http://my.lycos.com
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer



Re: [Gimp-developer] Re: crop via PDB

2002-02-28 Thread wolfgang hofer

 Hi

Youre absolutely rigth that it was my fault to do that hack in GIMP-1.2.2 but this mail
was not intended to flame gimp developers (sorry for my bad english).
The point is that i want a clean Interface for future version of plug-in/gap
and other plug-in developers.

Yours Wolfgang Hofer
--

On 28 Feb 2002 10:59:40 +010  
 Sven Neumann wrote:
>Hi,
>
>"wolfgang hofer" <[EMAIL PROTECTED]> writes:
>
>> For the plug-in/gap i had a similar problem to implement
>> crop, resize, and scale for all frames of an animation.
>> 
>> For the INTERACTIVE mode of Video/Frames Crop (Scale, Resize)
>> plug-ins i had to re-implement the dialogs of those tools
>> (see copy of app/resize.c in plug-ins/gap)
>> that was a hack in GIMP-1.2.2.
>
>you didn't have to do that. You choose not to work with the GIMP core
>development team and simply copied the functionality into your plug-in
>thus duplicating the code. We could have made moved this widget into
>libgimp instead.
>
>
>Salut, Sven
>


2,000,000,000 Web Pages--you only need 1. Save time with My Lycos.
http://my.lycos.com
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer



[Gimp-developer] Re: crop via PDB

2002-02-27 Thread wolfgang hofer

Hi,

For the plug-in/gap i had a similar problem to implement
crop, resize, and scale for all frames of an animation.

For the INTERACTIVE mode of Video/Frames Crop (Scale, Resize)
plug-ins i had to re-implement the dialogs of those tools
(see copy of app/resize.c in plug-ins/gap)
that was a hack in GIMP-1.2.2.

Many Tools should have a PDB interface for Interactive
calls in future GIMP versions (1.4 or 2.0?) and even should save the last_values like
plug-ins do. further the structure of the last_values
buffer should be described (registered).

Example of registration see:

   http://registry.gimp.org/plugin?id=1962


Then tools like Curves, Hue-Saturation and many more
could be use in "animated Filtercalls"
(GAP Menu Filter All Layers) with varying values.



Yours Wolfgang Hofer  <[EMAIL PROTECTED]>

--- original messeage -

> Will new Gimp versions include PDB access to the
> various editing tools? Or is access currently
> available? The reason I ask is that I'm writting a
> plug-in to help me automate manual postprocessing of
> freshly scanned images (manual processing is
> required).
> To simplify the task, I need to automatically bring up
> the cropping tool with predetermined x-y offsets and
> predetermined length and width set in the dialog box.
> But I don't see a way to start the cropping tool from
> the PDB. 

Now, if you mean actually bring up the tool, no there is no way of doing that. 
But the crop functionality is there.

Happy GIMPing,

Seth 

--





2,000,000,000 Web Pages--you only need 1. Save time with My Lycos.
http://my.lycos.com
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer



[Gimp-developer] Re:Planned breakage in plug-in API and PDB for 1.3.x or 2.x

2002-02-26 Thread wolfgang hofer

Hi,

> From: Raphael Quinet 
> Subject: [Gimp-developer] Planned breakage in plug-in API and PDB for 1.3.x or 2.x 
> Date: Mon, 18 Feb 2002 08:06:59 -0800
..

> As you can see from this list, it is likely that some or all plug-ins
> will have to be modified at some point in time, and maybe more than
> once.  We should discuss this and decide when this should happen (or
> if it should happen at all).


For the next version of the plug-in/gap it would be useful
if many of the plug-ins do register the structure of the LAST_VALUES buffer
in a lastvalues description file.

I have written gimp_iter_desc.h / .c  for the registration
(that should become part of libgimp if possible)
and a common Iterator Procedure for the gap (Filters->Filter All Layers)
that uses the description file and can replace the plug-ins/gap/iter_ALT stuff.

.. I am currently porting the plug-in/gap code to gimp-1.3.3 and gtk+ 1.3.13
   (offline, have no net access on my linuxbox)


Yours Wolfgang Hofer  [EMAIL PROTECTED] 


Codesample how to register lastvalues description:
--

#define PLUG_IN_NAME"plug_in_whirl_pinch"

typedef struct
{
  gdouble whirl;
  gdouble pinch;
  gdouble radius;
} whirl_pinch_vals_t;

static whirl_pinch_vals_t wpvals =
{
  90.0, /* whirl */
  0.0,  /* pinch */
  1.0   /* radius */
};


static void
query (void)
{

  ...
  
  gimp_set_data_iter_description(PLUG_IN_NAME,
 &wpvals, sizeof(wpvals),
 GIMP_ITER_GDOUBLE, &wpvals.whirl,
 GIMP_ITER_GDOUBLE, &wpvals.pinch,
 GIMP_ITER_GDOUBLE, &wpvals.radius,
 GIMP_ITER_END);
}




Here is an example of a lastvalues description file:


# Descriptionfile LAST_VALUES buffer structure (type;offset;size)
#
# this file is rewritten each time when a procedure registers
# the LAST_VALUES structure. (typical at 1.st gimp startup
# or after installation of new plug-ins)
#
"plug_in_whirl_pinch" #- added or changed by GIMP on 2002-02-23 16:38:27
STRUCT_BEGIN;0;24
 GDOUBLE;0;8
 GDOUBLE;8;8
 GDOUBLE;16;8
STRUCT_END;0;24
END;


And here is an example of the registration Code:

   http://registry.gimp.org/plugin?id=1962



___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer



Re: [Gimp-developer] GIMP Video Menu (GAP)

2002-02-11 Thread wolfgang hofer

Hi,

Please let me know when and where to find the latest
version of plug-ins/gap directory.
(gimp-1.3.3 does not contain gap. If gap was completely
removed from CVS I'll use the sourcecode base from gimp-1.2.2
but let me know before I start porting gap to gimp-1.3.3)

Wolfgang Hofer <[EMAIL PROTECTED]>
--

On 04 Feb 2002 11:00:31 +010  
 Sven Neumann wrote:
>Hi,
>
>"wolfgang hofer" <[EMAIL PROTECTED]> writes:
>
>> Where can I get the latest
>> Version of the Subdirectory 
>> plug-ins/gap  ?
>> 
>> - I have gimp-1.2.2 tarball
>> - I have gimp-1.3.2 tarball
>>   that does not contain plug-ins/gap.
>> - I have seen the CangeLog of 1.3.2
>>   and there were changes affecting gap
>>   after the 1.2.2 release.
>> - I have heared, that gap
>>   does not compile in the 1.3 branch.
>> - I want to try to fix the problems,
>>   and change to 1.3 , 1.4 API.
>> - I have NO internet on my linuxbox 
>>   and cannot use CVS.
>>   (download is possible once or twice a week 
>>on a foreign win98 PC)
>> - I am the author of gap
>> 
>> Who can help ?
>
>I can easily set up nightly CVS snapshots for you.  The question is,
>do I put them up only for you or is there general interest for CVS
>snapshots? I'd probably put them on up on ftp.gimp.org then.
>
>
>Salut, Sven
>


Go Get It!
Send FREE Valentine eCards with Lycos Greetings
http://greetings.lycos.com
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer



[Gimp-developer] GIMP Video Menu (GAP)

2002-02-04 Thread wolfgang hofer

Where can I get the latest
Version of the Subdirectory 
plug-ins/gap  ?

- I have gimp-1.2.2 tarball
- I have gimp-1.3.2 tarball
  that does not contain plug-ins/gap.
- I have seen the CangeLog of 1.3.2
  and there were changes affecting gap
  after the 1.2.2 release.
- I have heared, that gap
  does not compile in the 1.3 branch.
- I want to try to fix the problems,
  and change to 1.3 , 1.4 API.
- I have NO internet on my linuxbox 
  and cannot use CVS.
  (download is possible once or twice a week 
   on a foreign win98 PC)
- I am the author of gap


Who can help ?

Yours Wolfgang Hofer  <[EMAIL PROTECTED]>


___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer



[Gimp-developer] GIMP mailing list Archives ?

2001-03-18 Thread wolfgang hofer

Hi,

Does anybody know what's wrong with
GIMP mailing list Archives ?
The gimp-devel Archive does not update
since weeks.

The last entry that i can see is:
  From: Robert L Krawitz 
  Subject: RUN_WITH_LAST_VALUES 
  Date: Fri, 16 Feb 2001 15:33:13 -0800 

I used this archive frequently to
see whats going on in the development of gimp,
without the need of subscribing to the list.

Wolfgang Hofer.

PS:
 This is the way I used to read the developers
 mailing list:

http://www.gimp.org/mailing_list.html

GIMP mailing list Archives

 www.mail-archive.com

  gimp-devel   For plug-in developers and `core' program developers. Here you will find
   patches to the source code and discussion about The Gimp development in
   general.

PPS:
  please reply with cc: [EMAIL PROTECTED]
 



Get 250 color business cards for FREE! at Lycos Mail
http://mail.lycos.com/freemail/vistaprint_index.html
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer