The leading provider of version control solutions and TWAIN SDKs
  • Contact us









SaveSelectedImagesToBase64Binary Method

Description

Saves the selected images in buffer to base64 string.

ActiveX Edition Plug-in Edition Mac Edition
Since V6.2 Since V6.2 Not Supported

Syntax

Uint32 ObjectName. SaveSelectedImagesToBase64Binary()

Remarks

The method should be called after GetSelectedImagesSize method.

When an error occurs and IfThrowException property is TRUE, an exception will be thrown.

When FALSE is returned or an exception is thrown, check ErrorCode property and ErrorString property for error information.

See also

SaveAsTIFF(), SaveAsJPEG(), SaveAsBMP(), SaveAsPNG(), FTPUpload(), FTPDownload(), HTTPUploadThroughPut(), HTTPUploadThroughPost(), HTTPDownload(), AllowMultiSelect, SaveSelectedImagesToBytes, LoadImageFromBase64Binary

Sample

Javascript Sample:

	var imagedata;
	Webcam.SelectedImagesCount = 2;
	Webcam.SelectedImageIndex[0] = 4;// Set the 5th image as the first selected image.
	Webcam.SelectedImageIndex[1] = 3;// Set the 4th image as the second selected image.

	Webcam.GetSelectedImagesSize(1); //jpeg
	imagedata = Webcam.SaveSelectedImagesToBase64Binary();
	Webcam.LoadImageFromBase64Binary(imagedata,1);
	alert(Webcam.ErrorString);