Re: Batch Image Processing

2000-07-06 Thread Marc Lehmann

On Wed, Jul 05, 2000 at 07:10:47PM -0600, Steve Hitchner [EMAIL PROTECTED] 
wrote:
 are in TIFF format, I want to open them, resize them, from 2048X2668 
 pixels to 115X150 and save (same filename different extension) them as a
 medium quality JPEG thumbnail. I would prefer to somehow create a script

And here is the example using ImageMagick (untested):

$ mogrify -format jpg -quality 70 -geometry "115x150" *.tif

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: Batch Image Processing

2000-07-06 Thread Stephan Henningsen

man convert

-- 

-Stephan  /
 /  http://linux.e.iha.dk/~stephan





Round selection (again)

2000-07-06 Thread Thomas Stolt

Ok, I just don't get it, I am still struggling with the basics of ScriptFu.

Please look into the attached script, all I am trying to do is this:

Create a box, transparent
Select all
Round selection

This works perfectly simple and easy manually, but I cannot convince ScriptFu of that. 
Neither script-fu-selection-round nor perl-fu-round-sel give me the results that I get 
by hand.  Very strange, if I produce a box with the script below and round the 
selection manually it works perfectly!!??

*argl*  Help Please!!!

Moreover: I still have not found a proper ScriptFu guide, the couple of pages in the 
GimpUserGuide are totally unsufficient, once you've read them.  Is there a proper 
Language-Definition-Guide out there?

many thanks in advance

Thomas

-
(define (script-fu-text-test inHeight inWidth )
 (let*
  (
   (theImage (car (gimp-image-new inWidth inHeight RGB)))
   (theLayer (car (gimp-layer-new theImage inWidth inHeight RGBA_IMAGE "Layer 1" 100 
NORMAL)))
  )
  (gimp-image-add-layer theImage theLayer -1)
  (gimp-selection-all theImage)
  (gimp-edit-clear theLayer)
  (gimp-image-set-active-layer theImage theLayer)

  ; neither this ...
  (script-fu-selection-round 0 theImage theLayer "1.0")
  ; ...nor this works
  ;(perl-fu-round-sel 1 theImage theLayer 1)

  (gimp-display-new theImage)
  (gimp-image-clean-all theImage)
 )
)

(script-fu-register
  "script-fu-text-test" 
  "Toolbox/Xtns/Script-Fu/Text/Test" 
  "create a box with a round selection (to create a nice button)"
  "Thomas Stolt"  
  "copyright 2000, Thomas Stolt"  
  "5th of July 2000"  
  ""  ;Image type that the script works on
  SF-VALUE "Height:" "31"  ;Button Height
  SF-VALUE "Width:" "100"  ;Button Width
)
-
___
1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
[EMAIL PROTECTED], 8MB Speicher, Verschluesselung - http://freemail.web.de




CMYK support

2000-07-06 Thread Suraj.co.in

Hi

   Is there any patch available for gimp 1.1.1 for CMYK support in
TIFFs?

-Suraj


__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com



RE: Batch Image Processing

2000-07-06 Thread Steve Hitchner


Just wanted to thank everyone for their responses to my batch processing
question. I was able to write a very simple perl script using the
tifftopnm/pnmscale/pnmtopng commands.  Thanks again for all your help.

cheers
steve

==
Stephen Hitchner   http://www.algae.dhs.org
[EMAIL PROTECTED] coming soon http://www.greenalgae.net




Re: Round selection (again)

2000-07-06 Thread Hago Ziegler

Hi Thomas,

..
(define (script-fu-text-test inHeight inWidth )
 (let*
  (
   (theImage (car (gimp-image-new inWidth inHeight RGB)))
   (theLayer (car (gimp-layer-new theImage inWidth inHeight RGBA_IMAGE
"Layer 1" 100 NORMAL)))
  )
  (gimp-image-add-layer theImage theLayer -1)
  (gimp-selection-all theImage)
  (gimp-edit-clear theLayer)
  (gimp-image-set-active-layer theImage theLayer)

  (gimp-ellipse-select theImage 0 0 inHeight inWidth 2 TRUE 0 0)  ;only
change

  ; neither this ...
  (script-fu-selection-round 0 theImage theLayer "1.0")
  ; ...nor this works
  ;(perl-fu-round-sel 1 theImage theLayer 1)

  (gimp-display-new theImage)
  (gimp-image-clean-all theImage)
 )
)

(script-fu-register
  "script-fu-text-test"
  "Toolbox/Xtns/Script-Fu/Text/Test1"
  "create a box with a round selection (to create a nice button)"
  "Thomas Stolt"
  "copyright 2000, Thomas Stolt"
  "5th of July 2000"
  ""  ;Image type that the script works on
  SF-VALUE "Height:" "31"  ;Button Height
  SF-VALUE "Width:" "100"  ;Button Width
)


This works here.

Hago




Re: Round selection (again)

2000-07-06 Thread Hago Ziegler

Hi Thomas,

I still changed it a little. With the first one I had to restart Gimp to
use it twice, with "set!" instead of "let*" this is not necessary.

Hago

...
(define (script-fu-text-test inHeight inWidth )
   (set! theImage (car (gimp-image-new inWidth inHeight RGB)))
   (set! theLayer (car (gimp-layer-new theImage inWidth inHeight
RGBA_IMAGE "Layer 1" 100 NORMAL)))
  (gimp-image-add-layer theImage theLayer -1)
  (gimp-selection-all theImage)
  (gimp-edit-clear theLayer)
  (gimp-image-set-active-layer theImage theLayer)

  (gimp-ellipse-select theImage 0 0 inHeight inHeight 2 TRUE 0 0
  (gimp-display-new theImage)
  (gimp-image-clean-all theImage)
)

(script-fu-register
  "script-fu-text-test"
  "Toolbox/Xtns/Script-Fu/Text/Test1"
  "create a box with a round selection (to create a nice button)"
  "Thomas Stolt"
  "copyright 2000, Thomas Stolt"
  "5th of July 2000"
  ""  ;Image type that the script works on
  SF-VALUE "Height:" "31"  ;Button Height
  SF-VALUE "Width:" "100"  ;Button Width
)
...




Re: CMYK support

2000-07-06 Thread Guillermo S. Romero / Familia Romero

   Is there any patch available for gimp 1.1.1 for CMYK support in
TIFFs?

1.1.1 is pretty old. Current is 24, even Helix GNOME ships 22.

About CMYK, I suppose it must be first supported in the libtiff code, a
thing I do not know. And second, Gimp does not support CMYK yet, so the best
you will get will be a CMYK - RGB conversion, never native CMYK (until is
is added, of course, maybe in 2.0).

GSR
 




Re: Round selection (again)

2000-07-06 Thread Hago Ziegler

Hi,

 what version of GIMP are you using? (I know it works on 1.1.14 or
so)... however, I am using 1.1.24.

I'm using the same.

Hago




gif msg default

2000-07-06 Thread Rebecca Jean Pedersen

how do i change my default gif message? what does it do anyway?
i know its a dumb question, but its me.



Re: gif msg default

2000-07-06 Thread Amy


On Thu, 6 Jul 2000, Rebecca Jean Pedersen wrote:

 how do i change my default gif message? what does it do anyway?
 i know its a dumb question, but its me.


You mean the comments when you go to save?  

I'm assuming you have a pretty current version of gimp (1.1.2x). 

Go file-preferences-new file-default comment

In relatively recent builds, this has been broken.  You could set the
comment, but it only occasionally used the comment that you specified, the
rest of the time it would be blank.  It seems to have been fixed recently.

Remember, update and compile *often*!

--Ames
--
   "Fine!  Then I'm just gonna take my laptop and go home!!!"
Amy L. Abascal  [EMAIL PROTECTED]
Web Design Chic, VA Linux Systems  www.valinux.com
Web Design Chic, Silicon Valley Linux Users Groupwww.svlug.com
--





Re: CMYK support

2000-07-06 Thread Scott D. Webster

"Guillermo S. Romero / Familia Romero" wrote:
 
Is there any patch available for gimp 1.1.1 for CMYK support in
 TIFFs?
 
 1.1.1 is pretty old. Current is 24, even Helix GNOME ships 22.
 
Actually Helix GNOME ships 1.1.24. 

descartes $ rpm -q gimp 
gimp-1.1.24-0_helix_1
descartes $ 


-- 
Scott D. Webster mailto:[EMAIL PROTECTED]
Etc Services  http://www.EtcServices.com 
Voice: 201.439.1900  Pager: 800.379.2402
  Linux, UNIX, Internet Technology,
   Open Source Software Consulting

begin:vcard 
n:Webster;Scott
tel;pager:800-379-2402
tel;fax:413-674-2154
tel;work:201-439-1900
x-mozilla-html:FALSE
url:http://www.EtcServices.com
org:Etc Services
adr:;;31 N. Vivyen St.;Bergenfield;NJ;07621-1529;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:Owner
note:Linux, Unix  TCP/IP Networking Consultant
x-mozilla-cpt:;-30848
fn:Scott D. Webster
end:vcard



Fonts in Script-FU Dialogs

2000-07-06 Thread Andrew J Fortune


Hi all,

I recently made a posting saying that I was running GIMP for Windows. I
still am, but I have recently re-installed Mandrake Linux, purely so that I
can get at the full functionality of the GIMP (which is slightly limited in
the Windows port). I have had Linux installed before, but I had so many
problems with the LILO prompt, that I scrapped that idea for a while.

I have noticed that when I run a Script-FU logo, the Font field on the
dialog does not allow you to select from a list of fonts. Rather, you have
to type in the name manually. This seems a bit primitive !

Am I missing something ?  The version of the GIMP that I have is 1.04.

regards,
Andrew




Slightly OT - Image Magick

2000-07-06 Thread Andrew J Fortune


Hi all,

This is slightly off-topic, so I hope you don't mind. How do you run
ImageMagick ? I can't find an entry for this program on any of the menus,
yet GnoRPM says that it is currently installed.

I have heard that this program runs well in tandem with the GIMP, hence the
enquiry.

Thanks in advance,

regards,
Andrew J Fortune,
Melbourne,
Australia




Re: Slightly OT - Image Magick

2000-07-06 Thread L. Jack Reese


The command is "display" (of course!)

:-)

   Hi all,

   This is slightly off-topic, so I hope you don't mind. How do you run
   ImageMagick ? I can't find an entry for this program on any of the menus,
   yet GnoRPM says that it is currently installed.

   I have heard that this program runs well in tandem with the GIMP, hence the
   enquiry.

   Thanks in advance,

   regards,
   Andrew J Fortune,
   Melbourne,
   Australia





RE: Slightly OT - Image Magick

2000-07-06 Thread Andrew J Fortune


Sorry, can you elaborate on this, please ?

-Original Message-
From: L. Jack Reese [mailto:[EMAIL PROTECTED]]
Sent: Friday, 7 July 2000 6:09 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Slightly OT - Image Magick



The command is "display" (of course!)

:-)

   Hi all,

   This is slightly off-topic, so I hope you don't mind. How do you run
   ImageMagick ? I can't find an entry for this program on any of the menus,
   yet GnoRPM says that it is currently installed.

   I have heard that this program runs well in tandem with the GIMP, hence
the
   enquiry.

   Thanks in advance,

   regards,
   Andrew J Fortune,
   Melbourne,
   Australia






Re: Slightly OT - Image Magick

2000-07-06 Thread Holger Blasum

 The command is "display" (of course!)

SEE ALSO
   animate(1), import(1), montage(1), mogrify(1), mosaic(1),
   convert(1), combine(1), xtp(1)

Holger
No software patents in Europe - pls sign http://petition.eurolinux.org 



RE: Slightly OT - Image Magick

2000-07-06 Thread Andrew J Fortune


Thanks, Holger.

Isn't there a graphical interface program for all of these utilities ? 

regards,
Andrew

-Original Message-
From: Holger Blasum [mailto:[EMAIL PROTECTED]]
Sent: Friday, 7 July 2000 6:18 AM
To: L. Jack Reese
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Slightly OT - Image Magick


 The command is "display" (of course!)

SEE ALSO
   animate(1), import(1), montage(1), mogrify(1), mosaic(1),
   convert(1), combine(1), xtp(1)

Holger
No software patents in Europe - pls sign http://petition.eurolinux.org 



Re: Slightly OT - Image Magick

2000-07-06 Thread L. Jack Reese


Yes, there is a GUI - just type "display" at the command line. 
I don't know what to elaborate on... just type in the letters 
d-i-s-p-l-a-y enter

and there you have it - the GUI to all the cool utilities.

Hope this helps. 

Jack Reese



   Thanks, Holger.

   Isn't there a graphical interface program for all of these utilities ? 

   regards,
   Andrew

   -Original Message-
   From: Holger Blasum [mailto:[EMAIL PROTECTED]]
   Sent: Friday, 7 July 2000 6:18 AM
   To: L. Jack Reese
   Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
   Subject: Re: Slightly OT - Image Magick


The command is "display" (of course!)

   SEE ALSO
  animate(1), import(1), montage(1), mogrify(1), mosaic(1),
  convert(1), combine(1), xtp(1)

   Holger
   No software patents in Europe - pls sign http://petition.eurolinux.org