Skip to main content

Modify EXIF info or metadata of a picture


SOmetimes the metadata / EXIF information contained in a picture taken from a camera are wrong. It creates problems when pictures from multiple cameras are made into a collage and uploaded into Piacsa. Picasa is unable to correctly sort images according to the time taken if images form of the cameras have shifted times. The following procedure shifts the time on a bunch of image files all begining with DSC.
Note : - Do no do a * in the or loop. It would shift the time on all the images.

TO see the EXIF info

exiv2 image.jpg


File name       : image.JPG
File size       : 3150838 Bytes
MIME type       : image/jpeg
Image size      : 2592 x 1944
Camera make     : SONY
Camera model    : DSC-HX5V
Image timestamp : 2012:04:29 17:11:21
Image number    :
..............

exiv2 
-a : edits the date 

ad : performs the action

Now, the real code to shift time.

$ for image in DSC*; do exiv2 -a 15:00:00 ad  ${image}; done



Comments

Popular posts from this blog

LYRICS OF CHANDRABINDOO

___________________________________________________________________ SWEET HEART FROM AAR JAANI NAA(T-SERIES) -- SWEETHEART -- Pratham college-er din ta Aajo thik e mone poRey scene ta Dada didi haath dhorey siNRi tei bose poRey Aamar chokh ta ghorey bon bon bon bon Sweetheart, I am seating alone Sweetheart, for me there is none DhoNk gile chole gelo pratham maas Meye dekhlei feli deergho-shwash DhoNk gile chole gelo pratham maas Meye dekhlei othe nabhishwash Meyera bheeshan smart poRey chhoto mini-skirt Aamar e je sheet korey kon kon kon kon Sweetheart, I am seating alone Sweetheart, for me there is none Taarporey kete gelo maas chaar Fuse holo je kato future Bandhura purse khule eke oke taake tole Aamar pran ta korey chon mon chon mon Sweetheart, I am seating alone Sweetheart, for me there is none Ekdin lawn theke beriye Ek tanayaar dike taakiye Hawt korey ki je holo magaj ta ghurey gelo Taar kaaner saamne kori ghyan ghyan ghyan ghyan Sweetheart, I am seating alone Sweethea...

Changing the font size of section headings in LaTex

You have several ways to do so: 1.- A direct redefinition of \section: \makeatletter \renewcommand\section{\@startsection{section}{1}{\z@}%                                   {-3.5ex \@plus -1ex \@minus -.2ex}%                                   {2.3ex \@plus.2ex}%                                   {\normalfont\large\bfseries}} \makeatother 2.- By means of the titlesec package: \usepackage{titlesec} \titleformat{\section}{\large\bfseries}{\thesection}{1em}{} 3.- By means of the sectsty package: \usepackage{sectsty} \sectionfont{\large} source : http://www.latex-community.org/forum/viewtopic.php?f=4&t=3245   Now, I would explain the titlesec package a bit more (because it seems easier to me and...
dpkg: error: duplicate file trigger interest for filename `/usr/lib/gio/modules' and package `libglib2.0-0:i386' The dpkg trigger file has duplicates. We would need to manually remove all of them. $ cd /var/lib/dpkg/triggers/ $ sudo vim File /usr/share/octave/packages octave /usr/lib/libreoffice/share/extensions libreoffice-common /usr/lib/x86_64-linux-gnu/gio/modules libglib2.0-0 /usr/lib/gio/modules libglib2.0-0 /usr/share/glib-2.0/schemas libglib2.0-0 /usr/lib/i386-linux-gnu/gio/modules libglib2.0-0:i386 /usr/lib/gio/modules libglib2.0-0:i386 /usr/share/glib-2.0/schemas libglib2.0-0:i386 /etc/dbus-1/system.d dbus/noawait /usr/share/dbus-1/system-services dbus/noawait /usr/lib/vlc/plugins vlc-nox/noawait Notice the duplicates in bold. Remove them manually. If there are many duplicates then a quick way to see the duplicates is to run $ cat File | cut -d " " -f 2 | uniq -c 1 octave 1 libreoffice-common 3 libglib2.0-0 3 ...