[Gimp-user] Creating a 16:9 anamorphic image in Gimp

2006-11-13 Thread Jean-Michel Pouré
Dear Friends,

Hello, this is my post on Gimp user mailing list.

I have been using Gimp for several years, without the need to post a
help message. Why ? Probably because Gimp is so EASY to learn. 

Never say never, here is my first question related to video:

I would like to creata PAL 16:9 anamorphic title in Gimp. What
resolution and settings should I choose? My display is an LCD monitor. I
did not find how to set up PAL 16:9 anamorphic resolution in Gimp.

Any idea?

Kind regards,
Jean-Michel
Debian SID

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


[Gimp-user] Re: Creating a 16:9 anamorphic image in Gimp

2006-11-13 Thread Olivier Ripoll

Jean-Michel Pouré wrote:

Dear Friends,

Hello, this is my post on Gimp user mailing list.

I have been using Gimp for several years, without the need to post a
help message. Why ? Probably because Gimp is so EASY to learn. 


Never say never, here is my first question related to video:

I would like to creata PAL 16:9 anamorphic title in Gimp. What
resolution and settings should I choose? My display is an LCD monitor. I
did not find how to set up PAL 16:9 anamorphic resolution in Gimp.


Are you sure your monitor is 16:9 ? Most wide screen laptops use 16:10. 
For example, my desktop monitor is 1920x1200, which is 16:10 format. 
Normal 16:9 format for HDTV is 1920x1080.


Best regards,

Olivier

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


Re: [Gimp-user] Creating a 16:9 anamorphic image in Gimp

2006-11-13 Thread Jean-Michel Pouré
 I just always create a 1024x576 image and then scale to 720x576 when I
 export for video. 

Sounds good. But Kdenlive will probably soon support XCF files directly.
What if I open and have to export. I would prefer an automatic solution.

 You can create a 720x576 image and set the X and Y resolutions to 9
 and
 16 and then disable dot for dot in the view menu. However GIMP only
 transforms the view, so that round brushes for example will look like
 they are squashed, since they are drawn on the 5:4 image.

Okay. Thanks.

My idea was:
* PAL resolution is 520x576: 1.25 ratio
* 4:3 resolution: 1.33 ratio
* 16:9 resolution: 1.78 ratio

In Gimp, I create a 16:9 PAL image, with the following custom settings:
X = 520 pixels
Y = 576 x 1.25 / 1.78 =  404 pixels

X dpi = 72 dpi
Y dpi = 72 x 1.78 / 1.25 = 102 dpi

It works quite well for large text, but not for small images, 
which are very slightly distored in Kdenlive.

Any suitable alternative settings?

Kind regards,
Jean-Michel

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


[Gimp-user] Re: Running script-fu-round-corners from gimp command line

2006-11-13 Thread Gene Smith

Sven Neumann wrote:

Hi,

On Mon, 2006-11-13 at 01:51 -0500, Gene Smith wrote:
I have a bunch of jpg's that I need to run the stock procedure for 
making rounded corners and drop shadows on. I would like to do it from 
the command line rather than manually, one file at a time with the gui. 


Have a look at the Batch tutorial on gimp.org:

http://gimp.org/tutorials/Basic_Batch/


Sven


Thank, I did see that page.  But I just want to run an existing 
scrip-fu like this:


gimp  -i -d -b '(script-fu-round-corners RUN-NONINTERACTIVE 
./white-shawl.jpg -1 15 TRUE 8 8 15 TRUE FALSE)' '(gimp-quit 0)'


and not sure what to put in for the first 3 parameter of the 
round-corners script. I think the first one, RUN-NONINTERACTIVE, is 
right. The next two, image and drawable, I am not sure what to put in 
(possibly I need to call drawable?). The last 7 I think are OK since 
they match the gimp dialog box that you run manually. That's really what 
I am asking.


-gene

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


Re: [Gimp-user] Re: Running script-fu-round-corners from gimp command line

2006-11-13 Thread Michael Schumacher
Von: Gene Smith [EMAIL PROTECTED]

 Thank, I did see that page.  But I just want to run an existing 
 scrip-fu like this:

This is exactly what the tutorials is about.
 
 gimp  -i -d -b '(script-fu-round-corners RUN-NONINTERACTIVE 
 ./white-shawl.jpg -1 15 TRUE 8 8 15 TRUE FALSE)' '(gimp-quit 0)'
 
 and not sure what to put in for the first 3 parameter of the 
 round-corners script. I think the first one, RUN-NONINTERACTIVE, is 
 right. The next two, image and drawable, I am not sure what to put in 
 (possibly I need to call drawable?).

You have to put the call to the script at the right place - this is where the 
(plug-in-unsharp-mask RUN-NONINTERACTIVE image drawable radius amount 
threshold) is called in the example.


HTH,
Michael
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] reverse loop question

2006-11-13 Thread rhubarbpie


I've created an animated gif which I want to perform what I think is a 
reverse loop.  In explanation, I'll use a three-layer example.  I want 
the animation to proceed from frame 1 to frame 2 to frame 3, then back 
to frame 2 to frame 1 and repeat.  An analogy would be a ball 
continually rolling between two hills.


I see only the loop forever option when saving the gif.  I've gotten 
around that problem by saving as layers frame 1, frame 2, frame 3, frame 
2, and frame 1.  Savings those frames with the loop forever option does 
what I want but is a larger file than I think necessary.


I've done some research and see the reverse loop option with 
gimp-gap.  I compiled gimp-gap and used frames 1-3 only once.  I used 
the move path option and tried reverse loop and reverse frame loop.  
However, neither option seems to take.  It loops only, no reverse.


Animated gifs and The Gimp are quite new to me.  Can the gimp-gap 
reverse loop do what I want with just three frames?

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


[Gimp-user] reverse loop question

2006-11-13 Thread rhubarbpie


Yes, I basically want Gimp-Gap ping-pong.  I was unclear in that three 
frames was only an example.  My animation uses 17 frames.  I use the 
replace option and pause 1 second between frames.  Both are fine for my 
animation but I want ping-pong.


If I understand your post correctly, the simple answer is that it can't 
be done with Gimp-Gap.  If that's correct, what does the reverse loop 
option do?

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


Re: [Gimp-user] reverse loop question

2006-11-13 Thread Scott Bicknell
On Monday 13 November 2006 2:41 pm, [EMAIL PROTECTED] 
wrote:

 Yes, I basically want Gimp-Gap ping-pong.  I was unclear in
 that three frames was only an example.  My animation uses 17
 frames.  I use the replace option and pause 1 second between
 frames.  Both are fine for my animation but I want
 ping-pong.

 If I understand your post correctly, the simple answer is that
 it can't be done with Gimp-Gap.  If that's correct, what does
 the reverse loop option do?

It CAN be done with GAP. One of the options in the Step mode 
drop-down box of the Move Path dialog is Ping Pong. It does 
exactly what you want.

The reverse loop option plays an animation sequence in reverse 
and loops over the sequence repeatedly.
-- 
Scott
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] reverse loop question

2006-11-13 Thread rhubarbpie


Thank you, now I see what you mean.  I thought you were using ping-pong 
descriptively.  I didn't realize it's an option.


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


[Gimp-user] Re: Running script-fu-round-corners from gimp command line

2006-11-13 Thread Gene Smith

Michael Schumacher wrote, On 11/13/2006 11:54 AM:

Von: Gene Smith [EMAIL PROTECTED]

Thank, I did see that page.  But I just want to run an existing 
scrip-fu like this:



This is exactly what the tutorials is about.
 

gimp  -i -d -b '(script-fu-round-corners RUN-NONINTERACTIVE 
./white-shawl.jpg -1 15 TRUE 8 8 15 TRUE FALSE)' '(gimp-quit 0)'


and not sure what to put in for the first 3 parameter of the 
round-corners script. I think the first one, RUN-NONINTERACTIVE, is 
right. The next two, image and drawable, I am not sure what to put in 
(possibly I need to call drawable?).



You have to put the call to the script at the right place - this is where the 
(plug-in-unsharp-mask RUN-NONINTERACTIVE image drawable radius amount 
threshold) is called in the example.


HTH,
Michael


I made this script from the example and put in 
~/.gimp-2.2/scripts/round-corners.scm:


(define (round-corners filename)
   (let* ((image (car (gimp-file-load RUN-NONINTERACTIVE filename 
filename)))

  (drawable (car (gimp-image-get-active-layer image
 (script-fu-round-corners RUN-NONINTERACTIVE
   image drawable 15 TRUE 8 8 15 TRUE FALSE)
 (set! drawable (car (gimp-image-get-active-layer image)))
 (gimp-file-save RUN-NONINTERACTIVE image drawable filename filename)
 (gimp-image-delete image)))

and run it for a image file:

gimp -i -b '(round-corners /home/gene/product_images/white-shawl.png)' 
'(gimp-quit 0)'


No batch interpreter specified, using the default 'plug_in_script_fu_eval'.
batch command: experienced an execution error.

--verbose doesn't say more.

When I run in Script-Fu Console:

= (round-corners /home/gene/product_images/white-shawl.jpg)
ERROR: Procedural database execution failed:
(gimp_image_width 1)

I still must be doing something wrong.

-gene



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


Re: [Gimp-user] Re: Running script-fu-round-corners from gimp command line

2006-11-13 Thread Saul Goode
I think it is just a matter of you having to flatten the image before
calling 'script-fu-round-corners' (which does not accept images with an
alpha channel).

 Von: Gene Smith [EMAIL PROTECTED]

 I made this script from the example and put in 
 ~/.gimp-2.2/scripts/round-corners.scm:
 
 (define (round-corners filename)
 (let* ((image (car (gimp-file-load RUN-NONINTERACTIVE filename 
 filename)))
(drawable (car (gimp-image-get-active-layer image
   (script-fu-round-corners RUN-NONINTERACTIVE
  image drawable 15 TRUE 8 8 15 TRUE FALSE)
   (set! drawable (car (gimp-image-get-active-layer image)))
   (gimp-file-save RUN-NONINTERACTIVE image drawable filename filename)
   (gimp-image-delete image)))
 
 and run it for a image file:
 
 gimp -i -b '(round-corners /home/gene/product_images/white-shawl.png)' 
 '(gimp-quit 0)'
 
 No batch interpreter specified, using the default
'plug_in_script_fu_eval'.
 batch command: experienced an execution error.
 
 --verbose doesn't say more.
 
 When I run in Script-Fu Console:
 
 = (round-corners /home/gene/product_images/white-shawl.jpg)
 ERROR: Procedural database execution failed:
  (gimp_image_width 1)
 
 I still must be doing something wrong.

It is amazing what you can accomplish if you do 
not care who gets the credit. -- Harry S. Truman

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