some ideas from Corona Virus "Stay at Home" order
Bob Rasmussen
ras at anzio.com
Mon Mar 23 10:41:55 PDT 2020
On the topic of GPS coordinates: what use case can you think of for this?
I've been aware of geotagging (an dother EXIF data) in photos and videos
for years, and have written code to extract that data from the files, but
have not come up with many use cases. Ideas?
On Mon, 23 Mar 2020, Richard D. Williams via Filepro-list wrote:
> Sometimes I think of some neat things I've done over the years and just feel
> like sharing.
>
> Here are a few: (linux OS)
>
> Merge PDFs into a single new PDF:
> /usr/bin/gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=file_new.pdf
> file1.pdf file2.pdf
>
> Extract Pages from a PDF:
> i.e. page 1-4
> /usr/bin/gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dFirstPage=1 -dLastPage=4
> -sOutputFile=file_new.pdf file1.pdf
>
> Extract Pages from page # to end:
> /usr/bin/gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dFirstPage=2
> -sOutputFile=file_new.pdf file1.pdf
>
> Get the numbers of pages in a PDF:
> /usr/bin/pdfinfo file1.pdf | grep "Pages:" | sed s/"Pages:"//g | sed s/" "//g
> i.e.
> 8
>
> Get the Lat/Long from a JPG image:
> exiftool -n -gpslatitude -gpslongitude file2.JPG
> i.e.
> GPS Latitude : 31.4998652777778
> GPS Longitude : -100.448014444444
>
> I hope someone finds this useful.
>
> Be safe out there,
>
> Richard D. Williams
>
>
>
>
>
> --
> This email has been checked for viruses by AVG.
> https://www.avg.com
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://mailman.celestial.com/pipermail/filepro-list/attachments/20200323/3ebd008c/attachment.html>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
Regards,
....Bob Rasmussen, President, Rasmussen Software, Inc.
personal e-mail: ras at anzio.com
company e-mail: rsi at anzio.com
voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
fax: (US) 503-624-0760
web: http://www.anzio.com
street address: Rasmussen Software, Inc.
10240 SW Nimbus, Suite L9
Portland, OR 97223 USA
More information about the Filepro-list
mailing list