Chilkat
HOME
Android™
ASP
Visual Basic
VB.NET
C#
iOS (IPhone)
Objective-C
C++
C
MFC
Delphi
FoxPro
Java
Perl
PHP Extension
PHP ActiveX
Python
PowerShell
Ruby
SQL Server
VBScript
Remove All XMP Metadata from JPG or TIFFDownloads: MS Windows Visual C/C++ Libraries Linux/CentOS C/C++ Libraries MAC OS X C/C++ Libraries Solaris C/C++ Libraries C++ Builder Libraries C++ XMP sample code to remove all XMP metadata from a JPEG or TIF image file. void XmpRemoveAllXmp(void)
{
// Removes all XMP metadata from a JPG or TIFF
CkXmp xmp;
xmp.UnlockComponent("anything for 30-day trial");
bool success = xmp.LoadAppFile("AgencyPhotographer-Example.jpg");
if (!success)
{
xmp.SaveLastError("lastError.txt");
return;
}
xmp.RemoveAllEmbedded();
xmp.SaveAppFile("out.jpg");
return;
}
|
© 2000-2010 Chilkat Software, Inc. All Rights Reserved.