VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles.Jpeg Namespace / ExifData Class / SetThumbnail Methods / SetThumbnail(VintasoftImage) Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
SetThumbnail(VintasoftImage) Method (ExifData)
In This Topic
Sets the thumbnail stored in Exif data.
Syntax
'Declaration

Public Overloads Sub SetThumbnail( _
ByVal image
The thumbnail image. Pass null to remove existing thumbnail.
As Vintasoft.Imaging.VintasoftImage _
)

Parameters

image
The thumbnail image. Pass null to remove existing thumbnail.
Exceptions
ExceptionDescription
Thrown if image size is bigger than 320x240 and 240x320.
Remarks

This method will store thumbnail as JPEG image with quality 80.

Maximum size of JPEG segment in JPEG file is 64Kb. This limits size of thumbnail stored in JPEG file - thumbnail size can be equal or less than 320x240.

Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also