Re: Running scripts from linux to modify image files on a windows2000 box

2003-07-12 Thread Roger Oberholtzer
Make life simple. Go to the Gnu site and download the stuff for Windows.
There is a small exe that you install, and it manages installing the
rest. You will get a nice shell and many Unix commands into the bargain.
Then, your scripting environment will be the same. Run the same scripts
on Linux and Windows. I do this and am happy with the setup. If you are
using ImageMagik, you can install the winders version and be complete.

On Sat, 2003-07-12 at 04:23, Joel Hammer wrote:
 At work, I am going to have a digital camera tethered to a linux box
 via usb.  This linux box will connect directly via an ethernet connection
 to a windows 2000 box in another room, which will be the major player in
 image processing and storage. I could change this I suppose, and have the
 linux box tethered to the camera as the major player, but I am worried
 about the slow down due to the cable connection.
 
 I am going to need to run a number of repetitive image editing commands
 via scripts on the captured images, after they are sent to the windows
 2000 box. For example, they need to be labelled, commented, turned upside
 down (Our camera is mounted upside down.), and resized, at least. I
 could do all this before they are sent, but the W2K computer is going to
 be capturing images, too, and they will need to be edited in a similar
 fashion.
 
 I will be using image magick's collection of command line programs to
 accomplish this. There are versions of image magick for W2K as well as
 for linux.
 
 Now, since I know nothing of scripting in W2K but a lot about scripting in
 linux, would it be possible to mount the appropriate W2K directories
 on the linux box, and run the editing commands in linux, even though
 the files are stored on the W2K box? It sounds quite reasonable, but,
 I have never tried this, I don't use windows, and would like to know if
 this would in fact be workable.
 
 Thanks,
 
 Joel
 
 ___
 Linux-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
 

___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users


Re: Running scripts from linux to modify image files on a windows2000 box

2003-07-12 Thread Joel Hammer
What software are you referring to?

I did download cygwin from somewhere. It gave me a unix like environment
in windows but the root directory it supplied would not let me access
the other directories on the windows box.

Joel

On Sat, Jul 12, 2003 at 12:05:38PM +0200, Roger Oberholtzer wrote:
 Make life simple. Go to the Gnu site and download the stuff for Windows.
 There is a small exe that you install, and it manages installing the
 rest. You will get a nice shell and many Unix commands into the bargain.
 Then, your scripting environment will be the same. Run the same scripts
 on Linux and Windows. I do this and am happy with the setup. If you are
 using ImageMagik, you can install the winders version and be complete.
 
 On Sat, 2003-07-12 at 04:23, Joel Hammer wrote:
  At work, I am going to have a digital camera tethered to a linux box
  via usb.  This linux box will connect directly via an ethernet connection
  to a windows 2000 box in another room, which will be the major player in
  image processing and storage. I could change this I suppose, and have the
  linux box tethered to the camera as the major player, but I am worried
  about the slow down due to the cable connection.
  
  I am going to need to run a number of repetitive image editing commands
  via scripts on the captured images, after they are sent to the windows
  2000 box. For example, they need to be labelled, commented, turned upside
  down (Our camera is mounted upside down.), and resized, at least. I
  could do all this before they are sent, but the W2K computer is going to
  be capturing images, too, and they will need to be edited in a similar
  fashion.
  
  I will be using image magick's collection of command line programs to
  accomplish this. There are versions of image magick for W2K as well as
  for linux.
  
  Now, since I know nothing of scripting in W2K but a lot about scripting in
  linux, would it be possible to mount the appropriate W2K directories
  on the linux box, and run the editing commands in linux, even though
  the files are stored on the W2K box? It sounds quite reasonable, but,
  I have never tried this, I don't use windows, and would like to know if
  this would in fact be workable.
  
  Thanks,
  
  Joel
  
  ___
  Linux-users mailing list
  [EMAIL PROTECTED]
  Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
  
 
 ___
 Linux-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users


Re: Running scripts from linux to modify image files on a windows2000 box

2003-07-12 Thread Michael Hipp
Joel Hammer wrote:

I did download cygwin from somewhere. It gave me a unix like environment
in windows but the root directory it supplied would not let me access
the other directories on the windows box.
These often don't show up in a 'ls' but they're there in all cygwin 
installations:

/cygdrive/c
/cygdrive/d
etc.




___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users


Re: Running scripts from linux to modify image files on a windows2000 box

2003-07-12 Thread Roger Oberholtzer
On Sat, 2003-07-12 at 16:04, Joel Hammer wrote:
 What software are you referring to?
 
 I did download cygwin from somewhere. It gave me a unix like environment
 in windows but the root directory it supplied would not let me access
 the other directories on the windows box.

It was cygwin I referred to. I have had no trouble accessing any
directories at all, including those from SAMBA or other Windows boxes.
It is just that the base part of the path is different. But, if you
check the environment at the start of the script, you can determine if
it is windows or unix and set the base to the appropriate thing. Still
one script that runs on both environments. In fact, I have found very
little I could not do this way. I really detested the need to make it
work in command.exe.

Another cross platform script language is Tcl/Tk. This has the added
advantage of letting you add a platform independent GUI. There are nice
tools for working with images, like the Img extension. For our 'real'
scripts, this is what we use. There is even a netscape/explorer plugin
so you can embed the script in a web page and let it execute in a
browser. I have not used this, but I can see the use of such a thing.


 
 Joel
 
 On Sat, Jul 12, 2003 at 12:05:38PM +0200, Roger Oberholtzer wrote:
  Make life simple. Go to the Gnu site and download the stuff for Windows.
  There is a small exe that you install, and it manages installing the
  rest. You will get a nice shell and many Unix commands into the bargain.
  Then, your scripting environment will be the same. Run the same scripts
  on Linux and Windows. I do this and am happy with the setup. If you are
  using ImageMagik, you can install the winders version and be complete.
  
  On Sat, 2003-07-12 at 04:23, Joel Hammer wrote:
   At work, I am going to have a digital camera tethered to a linux box
   via usb.  This linux box will connect directly via an ethernet connection
   to a windows 2000 box in another room, which will be the major player in
   image processing and storage. I could change this I suppose, and have the
   linux box tethered to the camera as the major player, but I am worried
   about the slow down due to the cable connection.
   
   I am going to need to run a number of repetitive image editing commands
   via scripts on the captured images, after they are sent to the windows
   2000 box. For example, they need to be labelled, commented, turned upside
   down (Our camera is mounted upside down.), and resized, at least. I
   could do all this before they are sent, but the W2K computer is going to
   be capturing images, too, and they will need to be edited in a similar
   fashion.
   
   I will be using image magick's collection of command line programs to
   accomplish this. There are versions of image magick for W2K as well as
   for linux.
   
   Now, since I know nothing of scripting in W2K but a lot about scripting in
   linux, would it be possible to mount the appropriate W2K directories
   on the linux box, and run the editing commands in linux, even though
   the files are stored on the W2K box? It sounds quite reasonable, but,
   I have never tried this, I don't use windows, and would like to know if
   this would in fact be workable.
   
   Thanks,
   
   Joel
   
   ___
   Linux-users mailing list
   [EMAIL PROTECTED]
   Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
   
  
  ___
  Linux-users mailing list
  [EMAIL PROTECTED]
  Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
 ___
 Linux-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
 

___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users


Re: Running scripts from linux to modify image files on a windows2000 box

2003-07-12 Thread Joel Hammer
OK. I have got cygwin, and I can access windows directories, and this
looks very possible. I can download a lot of packages and they work. This
could get habit forming.

However, how does one install software that doesn't appear  in the
menus when you run setup.exe? I need to install imagemagick's command
line utilities, but I did not see imagemagick in the list of available
programs.

Thanks,

Joel
 


 On Sat, Jul 12, 2003 at 08:47:39PM +0200, Roger
Oberholtzer wrote:

 On Sat, 2003-07-12 at 16:04, Joel Hammer wrote:
  What software are you referring to?
  
  I did download cygwin from somewhere. It gave me a unix like environment
  in windows but the root directory it supplied would not let me access
  the other directories on the windows box.
 
 It was cygwin I referred to. I have had no trouble accessing any
 directories at all, including those from SAMBA or other Windows boxes.
 It is just that the base part of the path is different. But, if you
 check the environment at the start of the script, you can determine if
 it is windows or unix and set the base to the appropriate thing. Still
 one script that runs on both environments. In fact, I have found very
 little I could not do this way. I really detested the need to make it
 work in command.exe.
 
 Another cross platform script language is Tcl/Tk. This has the added
 advantage of letting you add a platform independent GUI. There are nice
 tools for working with images, like the Img extension. For our 'real'
 scripts, this is what we use. There is even a netscape/explorer plugin
 so you can embed the script in a web page and let it execute in a
 browser. I have not used this, but I can see the use of such a thing.
 
 
  
  Joel
  
  On Sat, Jul 12, 2003 at 12:05:38PM +0200, Roger Oberholtzer wrote:
   Make life simple. Go to the Gnu site and download the stuff for Windows.
   There is a small exe that you install, and it manages installing the
   rest. You will get a nice shell and many Unix commands into the bargain.
   Then, your scripting environment will be the same. Run the same scripts
   on Linux and Windows. I do this and am happy with the setup. If you are
   using ImageMagik, you can install the winders version and be complete.
   
   On Sat, 2003-07-12 at 04:23, Joel Hammer wrote:
At work, I am going to have a digital camera tethered to a linux box
via usb.  This linux box will connect directly via an ethernet connection
to a windows 2000 box in another room, which will be the major player in
image processing and storage. I could change this I suppose, and have the
linux box tethered to the camera as the major player, but I am worried
about the slow down due to the cable connection.

I am going to need to run a number of repetitive image editing commands
via scripts on the captured images, after they are sent to the windows
2000 box. For example, they need to be labelled, commented, turned upside
down (Our camera is mounted upside down.), and resized, at least. I
could do all this before they are sent, but the W2K computer is going to
be capturing images, too, and they will need to be edited in a similar
fashion.

I will be using image magick's collection of command line programs to
accomplish this. There are versions of image magick for W2K as well as
for linux.

Now, since I know nothing of scripting in W2K but a lot about scripting in
linux, would it be possible to mount the appropriate W2K directories
on the linux box, and run the editing commands in linux, even though
the files are stored on the W2K box? It sounds quite reasonable, but,
I have never tried this, I don't use windows, and would like to know if
this would in fact be workable.

Thanks,

Joel

___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - 
http://www.linux-sxs.org/mailman/listinfo/linux-users

   
   ___
   Linux-users mailing list
   [EMAIL PROTECTED]
   Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
  ___
  Linux-users mailing list
  [EMAIL PROTECTED]
  Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
  
 
 ___
 Linux-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users


Re: Running scripts from linux to modify image files on a windows2000 box

2003-07-12 Thread Keith Morse
On Sat, 12 Jul 2003, Joel Hammer wrote:

 OK. I have got cygwin, and I can access windows directories, and this
 looks very possible. I can download a lot of packages and they work. This
 could get habit forming.
 
 However, how does one install software that doesn't appear  in the
 menus when you run setup.exe? I need to install imagemagick's command
 line utilities, but I did not see imagemagick in the list of available
 programs.
 
FWIW, http://cygwin.com/packages/ doesn't list any variant of imagemagick, 
but http://cygwin.com/ported.html does reference 
ftp://ftp.imagemagick.org/pub/ImageMagick/binaries/ which apparently does.  
I've not installed a ported package yet, so I can help you there.

___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users