LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-25-2012, 01:19 PM   #1
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Rep: Reputation: Disabled
Wipe out all exif info of pictures


Hi.
Is there any CLI program to conveniately wipe out all EXIF data of a bunch of graphical files (like "repic")?
 
Old 08-26-2012, 06:52 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
I'm pretty sure that ImageMagick has exif-editing tools.

Google seems to be confirming my fuzzy memory.....
https://www.google.com/search?q=imag...ient=firefox-a

What's "repic"? eg is that a file format?
 
Old 08-26-2012, 08:28 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
I'm also not sure what repic should tell us. That said:

Have a look at exiv2
Code:
$ exiv2 pr slw_3684.jpg 
File name       : slw_3684.jpg
File size       : 3405393 Bytes
MIME type       : image/jpeg
Image size      : 2142 x 1422
Camera make     : NIKON CORPORATION
Camera model    : NIKON D700
.
.
.
Thumbnail       : None
Copyright       : Creative Commons Attribution-NonCommercial 3.0 License

$ exiv2 -d a slw_3684.jpg 

$ exiv2 pr slw_3684.jpg 
File name       : slw_3684.jpg
File size       : 3395893 Bytes
MIME type       : image/jpeg
Image size      : 2142 x 1422
slw_3684.jpg: No Exif data found in the file
$
Do have a look at the man page.
 
1 members found this post helpful.
Old 08-26-2012, 11:51 AM   #4
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by pixellany View Post
I'm pretty sure that ImageMagick has exif-editing tools.

Google seems to be confirming my fuzzy memory.....
https://www.google.com/search?q=imag...ient=firefox-a

What's "repic"? eg is that a file format?
I looked at ImageMagick myself for this and it seems the option to remove the EXIF data also results in the JPEG being rewritten.
 
Old 08-26-2012, 12:18 PM   #5
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pixellany View Post
What's "repic"? eg is that a file format?
Repic is an awesome app to resize bunch of images.
Code:
repic version 1.1.1
Resizes JPEG file(s) if larger than size; rotates original if needed
Optional: Creates email message with pics attached (Claws and KMail)
Requires: imagemagick jhead zenity
Usage: repic [OPTIONS] JPEGFILE ...
OPTIONS:
--size ###x###        maximum HxV dims [default 1280x1024]
--quality ##          jpeg quality [default 85]
--replace             overwrite original files
--remove              remove original files
--norotate            do not auto-rotate originals
--rotateonly          auto-rotate originals only, no resize
--tmp                 Move resized file(s) to /tmp
--email               Create an email message [default 1024x768]
--intersize           toggle interactive size dialog
--interquality        toggle interactive quality dialog
--interopt            toggle interactive options dialog
--verbose             detailed feedback

Instructions and updates:
http://igurublog.wordpress.com/downloads/script-repic/
Thanks for all your advices - exiv2 does exactly what I need.
 
Old 08-26-2012, 01:16 PM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by Mr. Alex View Post
Repic is an awesome app to resize bunch of images.
I'll have a look.

Have you ever played with convert? Very powerful tool from the ImageMagick package.

- http://www.imagemagick.org/script/convert.php
- http://www.imagemagick.org/Usage/resize/#resize
 
1 members found this post helpful.
Old 08-26-2012, 06:40 PM   #7
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
I remember in the past I played around with exiftool
http://owl.phy.queensu.ca/~phil/exiftool/

jlinkels
 
1 members found this post helpful.
Old 08-27-2012, 02:32 AM   #8
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Original Poster
Rep: Reputation: Disabled
Thanks! A lot of new apps to check out.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Exif grep lilleskut Linux - Software 5 06-26-2012 09:45 AM
Meta Data EXIF/ID3 info in KDE4.3 (picture dimension, codec, etc.) Frank64 Linux - General 0 11-04-2009 12:58 PM
bash code to recursively remove EXIF info leosgb Programming 4 10-25-2007 12:31 AM
Exif info edito for digital photo. chii-chan Linux - Software 0 07-27-2004 04:32 AM
need answer on ipct and exif info in jpg files jensm Linux - Software 1 02-08-2004 12:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration