+ Reply to Thread
Results 1 to 3 of 3

Thread: Looking for a command line tool to edit .jpg's comments

  1. #1

    Default Looking for a command line tool to edit .jpg's comments

    Last edited by tireless; 11.12.2008 at 07:29 AM.

  2. #2
    Professional User Skippybox's Avatar
    Join Date
    Jul 2008
    Location
    Detroit, MI USA
    Posts
    2,030
    Version
    IrfanView 4.25
    OS
    32-bit Win XP Home SP2
    CPU Cores
    1

    Default

    Does it have to be command line? You can do JPG comments easily in batch/individually with IrfanView using CTRL+SHIFT+M, or individually by pressing I then C.

  3. #3
    IV Beginner Silversleeves's Avatar
    Join Date
    Jan 2009
    Location
    Northeast USA
    Posts
    31
    Version
    IrfanView 4.25
    OS
    32-bit Win XP Pro SP3
    CPU Cores
    2

    Default There are four that come to mind in a flash.

    Windows, Linux or Mac?

    Windows: rdjpegcom/wrdjpegcom both work in Cygwin and have Win32 builds available for use via the Command Prompt. Cygwin also made a few earlier builds of ImageMagick and GraphicsMagick, both of which are fast and comprehensive, availble for download and use. The latter two, however. require a full install of Cygwin/X along with Cygwin in order to work.

    Linux: Exiv2 by Andreas Huggel is very fast, very comprehensive, and the simplest commands happen to be for adding, deleting or changing the comment block in JPEG files. Plus he follows the rules, unlike some software I could name (libgd, you bahstedds!). There is a Python wraparound (in a manner of speaking) for Exiv2 called "pyexiv2" which, from the pov of someone who's familiar with Python scripts and apps (I'm not, but in this case I see their point), simplifies some of Hr Huggel's more abstruse and involved commands. Exiv2 is constantly being revised and extended and Hr Huggel is very receptive to new ideas and suggestions on how to improve his application. If you are, or happen to know, a C++ developer, the core of Exiv2 is a C++ library (which also makes it blazing fast on the command line) that is open-source and thus welcome to be included in other graphics projects. The MAN page has just been updated, as one command option was added last week to "pull out" individual tag data by their tag names. I'm pleased to say I inspired that particular change.

    Mac: Both Phil Harvey's Exiftool and -Tools (the latter has just spawned a GUI for Leopard and Snow Leopard) are quite good, though slower than Hr Huggel's due mainly to the fact that the CLI executables are written in Perl -- last I checked. The speed difference in processing is noticeable.

    All of the above, as it turns out (thank you Google: you came through for once!), are available for all three platforms in different command-line interfaces.

    Hope this was at least a little helpful.

    BZT

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts