Author Topic: Trying to stamp images with exiftool  (Read 17184 times)

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16883
    • ExifTool Home Page
Re: Trying to stamp images with exiftool
« Reply #30 on: October 09, 2013, 12:43:43 PM »
In this case, a bad IFD1:StripOffsets would mean that the thumbnail image is garbage.

You may get a warning about this if you run exiftool -warning jpg.jpg, but I'm not sure.  In general, more validation is done when writing than when reading images (because data integrity is more important than speed when writing).

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

tadej

  • Full Member
  • ***
  • Posts: 34
Re: Trying to stamp images with exiftool
« Reply #31 on: October 09, 2013, 01:56:32 PM »
Thanks Phil,

-warning does not return anything. Will perform real write and perform accordingly.
Last question for today:
How do I read only one specific Exif tag.
exif -???? file

regards Dusan

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16883
    • ExifTool Home Page
Re: Trying to stamp images with exiftool
« Reply #32 on: October 09, 2013, 01:57:50 PM »
The syntax is: exiftool -TAG FILE

ie) exiftool -artist test.jpg

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

tadej

  • Full Member
  • ***
  • Posts: 34
Re: Trying to stamp images with exiftool
« Reply #33 on: October 10, 2013, 02:18:02 AM »
Thanks Phil for being patient with me.
It works great.
I have included Shell mode in my VB.NET program.
I am considering to go commercial at some point.
What are terms and conditions if I would use your ExifTool.exe
Regards, Dusan
P.S. I have never seen such consistent and passionate approach to manage such a mess and inconsistency which abused Exif actually embodies. Yo've got my 10 out of 5.
 :)

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16883
    • ExifTool Home Page
Re: Trying to stamp images with exiftool
« Reply #34 on: October 10, 2013, 07:27:27 AM »
Hi Dusan,

Thanks for the compliments.

ExifTool is free to use inside another application with some conditions.  See the Perl artistic license for details.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

tadej

  • Full Member
  • ***
  • Posts: 34
Re: Trying to stamp images with exiftool
« Reply #35 on: October 10, 2013, 09:20:43 AM »
Hi Phil,

that is fine. As I am not USA or UK resident it is difficult to understand (from legal point of view - wording, expessions, assumptions - usually the culture stuff )  what I am supposed to do if I distribute and call your exe from my VB.NET product.
Please enlighten me.

Thanks and Regards,
Dusan

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16883
    • ExifTool Home Page
Re: Trying to stamp images with exiftool
« Reply #36 on: October 10, 2013, 09:54:41 AM »
Hi Dusan,

If your product is free, then there are no restrictions.

If you sell your product, then it must provide some value-added functionality, and not simply be an overt attempt to sell ExifTool by exposing ExifTool's functionality through a thin user interface.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

tadej

  • Full Member
  • ***
  • Posts: 34
Re: Trying to stamp images with exiftool
« Reply #37 on: October 10, 2013, 01:00:34 PM »
Hi Phil,

the system, GUI an functionality will be (are) thick, very thick.
What wording would you like to see in About Box.
I am perfectly happy to promote your excellent work.
I know the time will come for a a suitable donation.
Currently  am recovering from a disaster  >:(.

Regards,
Dusan

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16883
    • ExifTool Home Page
Re: Trying to stamp images with exiftool
« Reply #38 on: October 10, 2013, 01:24:10 PM »
Hi Dusan,

I hope your disaster recovery goes well.

What you put in an about box, if anything, is entirely up to you.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

tadej

  • Full Member
  • ***
  • Posts: 34
Re: Trying to stamp images with exiftool
« Reply #39 on: January 12, 2014, 06:59:39 PM »
Hi Phil,

I have come to the last stage of my development where I have to write the following data into jpg image:
longitude,
latitude,
altitude in meters,
true north camera orientation,
UTC time of picture taken.

Is there a command line example which I can test without a lot of try and error approach.

Kind regards,
Dusan

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16883
    • ExifTool Home Page
Re: Trying to stamp images with exiftool
« Reply #40 on: January 12, 2014, 07:58:26 PM »
Hi Dusan,

The command will look something like this:

exiftool -gpslatitude=VAL -gpslatituderef=north -gpslongitude=VAL -gpslongituderef=west -gpsaltitude=VAL -gpsaltituderef=above -gpsimgdirection=VAL -gpsimgdirectionref=true -gpsdatestamp=2014:01:12 -gpstimestamp=19:56:59 image.jpg

See FAQ 14 for more information about valid coordinate formats.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

tadej

  • Full Member
  • ***
  • Posts: 34
Re: Trying to stamp images with exiftool
« Reply #41 on: February 05, 2014, 06:32:05 PM »
Hi Phil,

works like magic.
I have added three additional fileds:
Title, Description, Type. Are there standarized tages where can I write this information, what are the limits of text size and how actually command to write all three looks like.

Are there any tags which tell what is viewing angle of camera lenses.

Kind regards,
Dusan


Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16883
    • ExifTool Home Page
Re: Trying to stamp images with exiftool
« Reply #42 on: February 05, 2014, 07:29:35 PM »
Hi Dusan,

There are no ExifTool-imposed limits on text size.  There is a command-line length limitation in Windows, but not Mac/Linux.

There is a Composite FOV tag that ExifTool calculates to give the field of view in degrees.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).