euglug.org

[작성자:] admin

  • [Eug-lug] batch convert



    Allen BrownSat Aug 21 21:18:42 PDT 2004

    Thank you.  I guess I will stick with mogrify.  Altho it takes two
    steps to do the operation, it's -geometry option allows me to
    specify the bounding box for the thumbnail without knowing the
    image size of the original.
    --
    Allen Brown
      work: Agilent Technologies      non-work: http://www.peak.org/~abrown/
            allen_brown at agilent.com	            abrown at peak.org
         __o      o            __o  __o
       _`\<,_    _\\_/\_,    _`\<,-`\<,_
      (*)/ (*)  (*)   O     (*)/----/ (*)
    
    
    On Sat, 21 Aug 2004, Jacob Meuser wrote:
    
    > On Sat, Aug 21, 2004 at 11:59:32AM -0700, Allen Brown wrote:
    > > mogrify is a cool command.  I've been using it for many years to
    > > make thumbnails automagically.  But there is one thing that
    > > annoys me.  There is no way to tell it to make the output filename
    > > different from the input file.  So to make a thumbnail I have to
    > >   cp ${fullsize}.jpg ${thumbnail}.jpg
    > >   mogrify -options ${thumbnail}.jpg
    > > 
    > > Do you know of a more efficient way to do this?
    > 
    > use perl-magick?  I don't think IM has a way to do this better,
    > but I could be wrong.  for jpegs, you could try using a djpeg|
    > cjpeg pipe like the following:
    > 
    > $ djpeg -scale 1/4 full.jpg | cjpeg > thumb.jpg 
    > 
    > I often postprocess jpg images for web sites with a simple
    > djpeg | cjpeg pipe like the following:
    > 
    > $ djpeg image-uncomp.jpeg | cjpeg > image.jpg
    > 
    > It's pretty fast, and it "optimizes" the images better than any
    > other tool I have found, especially for images coming out of 
    > the Gimp.
    > 
    > -- 
    > <jakemsr at jakemsr.com>
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    > 
    
  • [Eug-lug] Setting up DNS



    larry priceSat Aug 21 20:30:00 PDT 2004

    It means that the delegation path from your DNS server (I assume
    you're running it in caching mode)
    is long enough that the first request times out before a named
    runnning between you and the target domain server was able to receive
    and retransmit your answer.
    
    You might want to take a look at the forward entries on your named and
    see if they could be repointed to heftier servers (i don't know about
    att.net but qwest's nameservers were regularly unable to answer
    questions regarding doubleclick.net which caused a certain amount of
    hassle reading nytimes.com or other commercial sites)
    
    
    
    On Sat, 21 Aug 2004 20:02:52 -0700, Garl Grigsby <badd_karma at comcast.net> wrote:
    > I am trying to setup DNS from scratch for the first time and I am
    > running into a small problem. I occasionally get a time out when trying
    > to resolve an IP address. When I get these failures if I immediately try
    > the request again, the address is returned with no delay. In trying to
    > debug this problem I am running named in the foreground with the debug
    > switch turned on. When ever I have one of these failures, I will see a
    > group of messages similar to the following:
    > 
    > Aug 21 19:42:00.802 createfetch: www.blackbox.com.mydomain.com A
    > Aug 21 19:42:00.863 createfetch: www.blackbox.com A
    > Aug 21 19:42:01.027 no_references: delete from rbt: 0x9774338
    > dbru.br.ns.els-gms.att.NET
    > Aug 21 19:42:01.028 no_references: delete from rbt: 0x9774338
    > dmtu.mt.ns.els-gms.att.NET
    > Aug 21 19:42:01.028 createfetch: blackbox.com A
    > Aug 21 19:42:01.028 createfetch: dbru.br.ns.els-gms.att.net A
    > Aug 21 19:42:01.028 createfetch: dmtu.mt.ns.els-gms.att.net A
    > Aug 21 19:42:01.030 no_references: delete from rbt: 0x9778170
    > dbru.br.ns.els-gms.att.NET
    > Aug 21 19:42:01.030 no_references: delete from rbt: 0x9778170
    > dmtu.mt.ns.els-gms.att.NET
    >
    > This particular failure happened when I tried to resolve
    > www.blackbox.com. This problem only seems to happen to lesser known
    > domain names that are not frequently requested. If this happens when
    > using a web browser I typically just get a site not found message. If I
    > hit reload then the site shows up. When using nslookup I get the
    > following behavior:
    > 
    > H:\>nslookup www.blackbox.com
    > Server:  ns1.mydomain.com
    > Address:  10.xxx.xxx.xxx
    > 
    > DNS request timed out.
    >     timeout was 2 seconds.
    > *** Request to ns1.mydomain.com timed-out
    > 
    > After this happens if I immediately make the request again, everything
    > works normally.
    > 
    > H:\>nslookup www.blackbox.com
    > Server:  ns1.mydomain.com
    > Address:  10.xxx.xxx.xxx
    > 
    > Non-authoritative answer:
    > Name:    blackbox.com
    > Address:  164.109.41.20
    > Aliases:  www.blackbox.com
    > 
    > Does anybody know what might be causing this behavior? I have tried
    > google but I don't seem to find anything relevant.
    > 
    > Thanks,
    > Garl
    > 
    > This is running on a Redhat/Fedora box (Started out as a Redhat 8 box
    > and has been upgraded a number of times to something approximating
    > Fedora 1 or 2).
    > Bind is version 9.2.2.P3-9
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    > 
    
    
    -- 
    http://Zoneverte.org -- information explained
    Do you know what your IT infrastructure does?
    
  • [Eug-lug] Setting up DNS



    Garl GrigsbySat Aug 21 20:02:52 PDT 2004

    I am trying to setup DNS from scratch for the first time and I am 
    running into a small problem. I occasionally get a time out when trying 
    to resolve an IP address. When I get these failures if I immediately try 
    the request again, the address is returned with no delay. In trying to 
    debug this problem I am running named in the foreground with the debug 
    switch turned on. When ever I have one of these failures, I will see a 
    group of messages similar to the following:
    
    Aug 21 19:42:00.802 createfetch: www.blackbox.com.mydomain.com A
    Aug 21 19:42:00.863 createfetch: www.blackbox.com A
    Aug 21 19:42:01.027 no_references: delete from rbt: 0x9774338 
    dbru.br.ns.els-gms.att.NET
    Aug 21 19:42:01.028 no_references: delete from rbt: 0x9774338 
    dmtu.mt.ns.els-gms.att.NET
    Aug 21 19:42:01.028 createfetch: blackbox.com A
    Aug 21 19:42:01.028 createfetch: dbru.br.ns.els-gms.att.net A
    Aug 21 19:42:01.028 createfetch: dmtu.mt.ns.els-gms.att.net A
    Aug 21 19:42:01.030 no_references: delete from rbt: 0x9778170 
    dbru.br.ns.els-gms.att.NET
    Aug 21 19:42:01.030 no_references: delete from rbt: 0x9778170 
    dmtu.mt.ns.els-gms.att.NET
    
    This particular failure happened when I tried to resolve 
    www.blackbox.com. This problem only seems to happen to lesser known 
    domain names that are not frequently requested. If this happens when 
    using a web browser I typically just get a site not found message. If I 
    hit reload then the site shows up. When using nslookup I get the 
    following behavior:
    
    H:\>nslookup www.blackbox.com
    Server:  ns1.mydomain.com
    Address:  10.xxx.xxx.xxx
    
    DNS request timed out.
        timeout was 2 seconds.
    *** Request to ns1.mydomain.com timed-out
    
    After this happens if I immediately make the request again, everything 
    works normally.
    
    H:\>nslookup www.blackbox.com
    Server:  ns1.mydomain.com
    Address:  10.xxx.xxx.xxx
    
    Non-authoritative answer:
    Name:    blackbox.com
    Address:  164.109.41.20
    Aliases:  www.blackbox.com
    
    Does anybody know what might be causing this behavior? I have tried 
    google but I don't seem to find anything relevant.
    
    Thanks,
    Garl
    
    This is running on a Redhat/Fedora box (Started out as a Redhat 8 box 
    and has been upgraded a number of times to something approximating 
    Fedora 1 or 2).
    Bind is version 9.2.2.P3-9
    
  • [Eug-lug] batch convert



    Jacob MeuserSat Aug 21 12:34:38 PDT 2004

    On Sat, Aug 21, 2004 at 11:59:32AM -0700, Allen Brown wrote:
    > mogrify is a cool command.  I've been using it for many years to
    > make thumbnails automagically.  But there is one thing that
    > annoys me.  There is no way to tell it to make the output filename
    > different from the input file.  So to make a thumbnail I have to
    >   cp ${fullsize}.jpg ${thumbnail}.jpg
    >   mogrify -options ${thumbnail}.jpg
    > 
    > Do you know of a more efficient way to do this?
    
    use perl-magick?  I don't think IM has a way to do this better,
    but I could be wrong.  for jpegs, you could try using a djpeg|
    cjpeg pipe like the following:
    
    $ djpeg -scale 1/4 full.jpg | cjpeg > thumb.jpg 
    
    I often postprocess jpg images for web sites with a simple
    djpeg | cjpeg pipe like the following:
    
    $ djpeg image-uncomp.jpeg | cjpeg > image.jpg
    
    It's pretty fast, and it "optimizes" the images better than any
    other tool I have found, especially for images coming out of 
    the Gimp.
    
    -- 
    <jakemsr at jakemsr.com>
    
  • [Eug-lug] batch convert



    Allen BrownSat Aug 21 11:59:32 PDT 2004

    mogrify is a cool command.  I've been using it for many years to
    make thumbnails automagically.  But there is one thing that
    annoys me.  There is no way to tell it to make the output filename
    different from the input file.  So to make a thumbnail I have to
      cp ${fullsize}.jpg ${thumbnail}.jpg
      mogrify -options ${thumbnail}.jpg
    
    Do you know of a more efficient way to do this?
    --
    Allen Brown
      work: Agilent Technologies      non-work: http://www.peak.org/~abrown/
            allen_brown at agilent.com	            abrown at peak.org
      A good politician is quite as unthinkable as an honest burglar.
      ---H. L. Mencken
    
    
    On Sat, 21 Aug 2004, Jacob Meuser wrote:
    
    > On Sat, Aug 21, 2004 at 03:49:34AM -0700, Cory Petkovsek wrote:
    > > Both the gimp and imagemagick does batch converts.  I think the gimp has a gui
    > > tool to do it, but I don't recall right now.  It has a command line way.
    > > Imagemagick is all command line.  Both are Free.
    > 
    > Specifically, you'll want ImageMagick's 'mogrify' program with the
    > -format option.
    > 
    > For example, to convert TIFF files in the current directory to JPEG:
    > 
    > $ mogrify -format jpeg *.tiff
    > 
    > -- 
    > <jakemsr at jakemsr.com>
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    > 
    
  • [Eug-lug] batch convert



    Jacob MeuserSat Aug 21 11:33:38 PDT 2004

    On Sat, Aug 21, 2004 at 03:49:34AM -0700, Cory Petkovsek wrote:
    > Both the gimp and imagemagick does batch converts.  I think the gimp has a gui
    > tool to do it, but I don't recall right now.  It has a command line way.
    > Imagemagick is all command line.  Both are Free.
    
    Specifically, you'll want ImageMagick's 'mogrify' program with the
    -format option.
    
    For example, to convert TIFF files in the current directory to JPEG:
    
    $ mogrify -format jpeg *.tiff
    
    -- 
    <jakemsr at jakemsr.com>
    
  • [Eug-lug] batch convert



    Jeff_WSat Aug 21 10:57:13 PDT 2004

    Ditto on the ImageMagick: for some quick and EZ examples check out
    the iGal page and click the Linux Journal article link. Since ImgMgk
    is full featured at the command line you can integrate it in shell
    scripts. For example, you could create a preview script to allow
    flagging of rotated pics, then add additional cropping/resizing
    steps for those pics (very common need). For large quantities of
    pics this is a big time saver.
    
    iGal:  online Image GALlery generator  
    http://www.stanford.edu/~epop/igal/
    
    > Like Cory Said... Imagemagcik...
    >
    > : ... but lately somebody on the list mentioned that they
    > : could not find a graphics program for Linux that does
    > : batch converts.
    
  • [Eug-lug] batch convert



    Linux Rocks!Sat Aug 21 07:45:35 PDT 2004

    Like Cory Said... Imagemagcik... Ive used the gimp a bunch, its a sweet peice 
    of software, but for batch processing stuff you probably want imagemagick 
    ( http://www.imagemagick.org ) . Imagemagick is a package of command line 
    tools that manipulate/convert images, its really cool... you can do a lot of 
    neet stuff.
    
    Jamie
    
    On Friday 20 August 2004 04:29 pm, Alan Crandall wrote:
    : Sorry I don't have the original post but lately somebody on the list
    : mentioned that they could not find a graphics program for Linux that does
    : batch converts.An ex Amiga graphics program is available for Linux and does
    : batch converts.You can get a 30 working demo
    : here:  http://www.idruna.com/Downloads/
    : Installed on Mandrake 10 and runs fine The Amiga program was Photogenics
    : and is the same name for Linux
    
    -- 
    Sic transit discus mundi
    	-- From the System Administrator's Guide, by Lars Wirzenius
    
    
  • [Eug-lug] batch convert



    Cory PetkovsekSat Aug 21 03:49:34 PDT 2004

    Both the gimp and imagemagick does batch converts.  I think the gimp has a gui
    tool to do it, but I don't recall right now.  It has a command line way.
    Imagemagick is all command line.  Both are Free.
    
    Cory
    
    -- 
    Cory Petkovsek                                       Adapting Information
    Adaptable IT Consulting                                Technology to Your
    (858) 705-1655                                                   Business
    cory at AdaptableIT.com                                  www.AdaptableIT.com
    
    On Fri, Aug 20, 2004 at 01:29:51PM -0700, Alan Crandall wrote:
    > Sorry I don't have the original post but lately somebody on the list 
    > mentioned that they could not find a graphics program for Linux that does 
    > batch converts.An ex Amiga graphics program is available for Linux and does 
    > batch converts.You can get a 30 working demo 
    > here:  http://www.idruna.com/Downloads/
    > Installed on Mandrake 10 and runs fine The Amiga program was Photogenics 
    > and is the same name for Linux
    
    > 
    > ---
    > Outgoing mail is certified Virus Free.
    > Checked by AVG anti-virus system (http://www.grisoft.com).
    > Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004
    
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    
    
  • [Eug-lug] Walters request=bring Debian disks



    T. Joseph CARTERSat Aug 21 00:34:51 PDT 2004

    On Fri, Aug 20, 2004 at 06:13:30PM +0000, walter freihube wrote:
    > I am ready to quit the Mandrake frustation. Will someone please bring to 
    > the next meeting a complete Debian release on CD's . I will either copy 
    > them or preferably keep them and reimburse the donor with 2 blank CD's for 
    > every disk offered me. If this is not possible perhaps I should go back to 
    > my 80286 laptop running DOS 4.01, at least there I feel competent enough to 
    > use Wordperfect 5.1. At this level of technology I have a complete set of 
    > documentation to which I can turn for support. I think 8 months is long 
    > enough to try getting some results on Linux. Having been unable to get ANY 
    > help from Mandrakelinux club at all, I am requesting my$120.00 membership 
    > dues returned, now I will see how honorable THEY are.
    
    Hey Walter, if nobody else has volunteered, I can make some Debian CDs
    sometime in a few days.  I might even be able to arrange a DVD-R, if you
    prefer.
    
    As I currently have no Intel-speaking machines and therefore would not be
    able to use the burned media, I'd like to know beforehand if they'll be
    needed.
    
    I have little need of blank media--I am up to my ears in CD media and have
    enough DVD media to last until I bite the bullet and upgrade to a drive
    that supports +R DL in addition to others.  =)