Re: [Geeqie-devel] 2 things I miss from gqview
On 2015-11-18 13:32 -0500, Rodney D. Myers wrote: > Does the script work within geeqie? As I said, it is a command line program. I run it from a terminal window, usually on the same virtual desktop as geeqie when geeqie is running at all. It may be possible to set it up as one of the helper programs for geeqie, but I have not done so, and I don't know if geeqie would immediately notice the change of name and redisplay its lists. It is written in python using the pyexiv2 library. Let me know if you still want it. -- Please *no* private copies of mailing list or newsgroup messages. Rule 420: All persons more than eight miles high to leave the court. -- ___ Geeqie-devel mailing list Geeqie-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geeqie-devel
Re: [Geeqie-devel] 2 things I miss from gqview
On Wed, 18 Nov 2015 09:06:05 -0800 Ian Zimmermanwrote: > On 2015-11-18 06:37 -0500, Rodney D. Myers wrote: > > > 2. the ability to auto-rename files on the fly. useful for > > people/programs name their stuff with simple names > > I have a nifty script to do this from the command line, if you're > interested. It renames each file according to its EXIF timestamp. If > you need some slightly more complex name you can then use > e.g. prename(1). IMO this is the Right Way (TM), and not adding this > functionality to geeqie. > Does the script work within geeqie? Sure, I'd like a copy -- Rodney D. Myers - kg6anx They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. Ben Franklin - 1759 signature.asc Description: PGP signature -- ___ Geeqie-devel mailing list Geeqie-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geeqie-devel
Re: [Geeqie-devel] 2 things I miss from gqview
I just use: jhead -n"%Y%m%d-%H%M%S" on image files, if they have proper times. Such as from cameras, etc. -- ___ Geeqie-devel mailing list Geeqie-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geeqie-devel
[Geeqie-devel] 2 things I miss from gqview
2 things I miss from gqview 1. the ability to rotate images, and have it write the image as a correctly identified image file. I get sent multiple images that worker claims are not valid images. I just rotate left, then back to get the file header corrected 2. the ability to auto-rename files on the fly. useful for people/programs name their stuff with simple names -- Rodney D. Myers- kg6anx They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. Ben Franklin - 1759 signature.asc Description: PGP signature -- ___ Geeqie-devel mailing list Geeqie-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geeqie-devel
Re: [Geeqie-devel] 2 things I miss from gqview
> On Wed, Nov 18, 2015 at 11:01:05AM -0800, Ian Zimmerman wrote: >On 2015-11-18 13:32 -0500, Rodney D. Myers wrote: > >> Does the script work within geeqie? > >As I said, it is a command line program. I run it from a terminal >window, usually on the same virtual desktop as geeqie when geeqie is >running at all. > >It may be possible to set it up as one of the helper programs for >geeqie, but I have not done so, and I don't know if geeqie would >immediately notice the change of name and redisplay its lists. > >It is written in python using the pyexiv2 library. Let me know if you >still want it. I do most of my basic image file manipulations via command line as well. Items such as rotating photos according to EXIF information, to renaming the file name more accordingly. Simply and basic tasks should not be made more difficult by using graphical interfaces. These basic tasks can be completed far more exponentially faster and among many more files than using a graphical interface. I use the following within a Bash script function for processing my photos downloaded from my USB connected camera using GPhoto. # Change upper to lower case filenames using mv & tr. printf "Convert upper to lower case file names...\n" for photo in ${TMPDIR}/*; do mv $photo `echo $photo | tr [:upper:] [:lower:]` >>$LOGFILE 2>&1 done # autorotate images according to the exif-flags # also set modification time to exif-date/time # exit codes of jhead: 0=OK, 1=Modified #jhead -autorot -ft *.JPG >> $ERRORLOG # 0x0112Orientation left - bottom -> needs 270 deg rotation # "top - left" -> is up right, no rotation needed. ## jhead -cmd 'jpegtran -rotate 270 -outfile ' *.JPG # auto rotate images in place according to orientation exif data. # requires: media-libs/jpeg /usr/bin/exifautotran printf " auto rotating images\n" exifautotran $TMPDIR/*.jpg >>$LOGFILE 2>&1 # Set time stamp according to time exif data # requires: media-gfx/jhead /usr/bin/jhead printf " setting file time to image exif time\n" jhead -ft ${TMPDIR}/*.jpg >>$LOGFILE 2>&1 # jhead returns "1" in case of unsuccessful modification (e.g. rotation) if [ "$?" -lt "0" ]; then error "Error in jhead setting timestamp on file, code: $?" fi -- Roger http://rogerx.freeshell.org/ -- ___ Geeqie-devel mailing list Geeqie-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geeqie-devel