Cleaning Exif Data from an image

Warren Samples warren at
Tue May 3 00:58:52 EDT 2011

On Monday, May 02, 2011 11:00:25 PM J. Landman Gay wrote:
> You can import the image, and then re-export it as jpeg. The engine will 
> decompress the original and strip the exif data. When you export, you 
> may lost some quality, but it may not be noticable.

This is a really elegantly simple solution and works perfectly except that you may experience an increase in 
file size unless you set the JPEGQuality before you export. Running a 50.4K jpeg through exiftool to delete 
all metadata reduced the file size to 39.4K. Importing that 50.4K image as a control in Livecode and exporting 
a snapshot resulted in a file size of 140.2K. Setting the JPEGQuality to 75 prior to export results in a file 
size of 40.6K. 

Exiftool is available for all platforms as a gui and cli tool, for those interested. As a cli tool, it can be 
use with Livecode's 'shell()' to return exif data as well as write/edit/delete it.


More information about the use-livecode mailing list