Images that contain Exif metadata may reveal when and where a photo was taken and with what device, among other things. While this is usually a desirable feature, it can also be a privacy concern if the images are going to be shared or published online. In this guide, we’ll see how to remove EXIF data from JPG, JPEG, PNG, and other image files from the Linux command line. Images with EXIF data reveal all the details about a photo such as where and when was it taken as well as with what device, amongst a host of many other things. Installing ExifTool on Ubuntu 22.04 or 20.04 4. There are quite a few tools available that can remove Exif data, but one we’ve found to work very well is ExifTool. Steps for installing and using Exiftool on Ubuntu, Debian & Linux Mint. This program can strip Exif metadata without recompressing the image, so there’s no loss in quality. There are a variety of options that can be used with the program, such as exporting a new version of the image (without the Exif data) or simply resaving the image in-place. We’ll show you all the most useful commands below. Ubuntu, Debian, and Linux Mint: $ sudo apt install libimage-exiftool-perlįedora, AlmaLinux, CentOS, and RHEL: $ sudo dnf install perl-Image-ExifToolĪrch Linux and Manjaro: $ sudo pacman -S perl-image-exiftool You can download this program from the ExifTool website or use the appropriate command below to install it with your system’s package manager. Once ExifTool has been installed, use some of the example commands below in order to remove Exif data. These commands assume that you’ve already changed directories to where your images files are saved.ġ. adding -File:all would suppress all tags in the File group.View all the metadata for an image file by using the following command. Other groups can be suppressed by adding -GROUP:All to the command, i.e. You can suppress output of the Composite group by adding the -e ( -composite) option. The only embedded data in your file is the header, which contains no personally identifiable data. These are often created in a more human readable format or for ease of copying to other tags and/or files. Items in the group are tags exiftool creates based upon other tags in the file. This can include file system tags like the create date ( FileCreateDate) or permissions ( FilePermissions), properties of image, such as the width/height or image type, such as jpeg/tiff/png, as well as other non-editable details. Anything in the group is a property of the file. The group is obviously the version of exiftool used to list the data. EncodingProcess : Baseline DCT, Huffman coding A command-line interface to Image::ExifTool, used for reading and writing meta information in image, audio and video files. The resulting output would look similar to this ExifToolVersion : 12.16 Also, the -s (short) option will give you tag names, not tag descriptions (see exiftool FAQ #2). This command will show tags with duplicate names ( -a ( -duplicates) option) and the groups they belong to ( -G ( -groupNames) option). Is there a way to disable output of the derived information below to enable scrubbing detection? ExifTool Version Number : 10.80įile Modification Date/Time : 2021:02:02 14:41:53+02:00įile Access Date/Time : 2021:02:02 14:42:52+02:00įile Inode Change Date/Time : 2021:02:02 14:41:58+02:00Įncoding Process : Baseline DCT, Huffman coding Or do all JPEGs contain EXIF even if they were to be scrubbed? When I run exiftool on it I get the output below.Īre these fields derived by exiftool, even if there are no EXIF data, or does the output necessarily indicate the presence of EXIF inside the JPEG? I have a JPEG that I think has no EXIF data and I want to see if it is possible to detect scrubbing.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |