Click or drag to resize

JpegEncoderCopyJpegWithNewMarkers Method (String, String)

These methods perform a lossless copy of the JPEG image data into a new image while replacing the JPEG metadata with new metadata.

Namespace:  Atalasoft.Imaging.Codec
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public void CopyJpegWithNewMarkers(
	string source,
	string dest
)

Parameters

source
Type: SystemString
The source image filename to copy from.
dest
Type: SystemString
The destintation image filename to copy to.
Remarks
By saving the APP1 Jpeg marker, EXIF, IPTC, and COM data can be copied to existing images, without the need to recompress the image data. This method does not overwrite existing JPEG images, but creates a copy of the existing JPEG data. The original image could be deleted if this method succeeds.
Remarks
By saving the APP1 Jpeg marker, EXIF, IPTC, and COM data can be copied to existing images, without the need to recompress the image data. This method does not overwrite existing JPEG images, but creates a copy of the existing JPEG data. The original image could be deleted if this method succeeds.
Examples
CopyJpegWithNewMarkers Method
See Also