![]() ![]() Now, let me show you what you are left with when you only remove exif data: Remaining info after removing exif data Method 2: Using ImageMagick To remove exif data only, you have to use the -EXIF option as follows: exiftool -EXIF= So if you are looking for a way by which you can only remove exif data, you only have to follow a slight change in command and that's it. Unlike the exif tool which was created to remove metadata and exif data, ImageMagick is not meant only to extract image data, so you won't get as many options as I have shown above. So let's jump to the installation of ImageMagick.įor Debian-derivatives: sudo apt-get install imagemagickįor RHEL-based distros: sudo dnf install imagemagickįor Arch-based distros: sudo pacman -S imagemagick Less option does not affect its functionality and does its job quite well and this is the perfect option for those who just want to remove exif data in the simplest manner possible. Once you are done with the installation, let's have a look at how you can list image details from ImageMagick. To remove exif data, you have to use -strip option with mogrify as shown below: mogrify -strip To list exif data, you have to follow the given command syntax: identify -format '%' Using ImageMagick to get exif data of the image identify -format '%' No exif data left on the image Once you remove exif data, I'll run the previous command to cross-check whether I have successfully removed exif data or not. It won't show any output, as there are no data related to exif. Similarly, you can also use this command on an entire directory. Unlike the first method, you can't just assign the path to the directory, it must be your current working directory.
0 Comments
Leave a Reply. |