Saves a stamp in an existing stream with default options.
public void SaveStamp(
Leadtools.RasterImage image,
Stream stream
)
Public Overloads Sub SaveStamp( _
ByVal image As Leadtools.RasterImage, _
ByVal stream As Stream _
)
public void SaveStamp(
Leadtools.RasterImage image,
Stream stream
)
function Leadtools.Codecs.RasterCodecs.SaveStamp(RasterImage,Stream)(
image ,
stream
)
public:
void SaveStamp(
Leadtools.RasterImage^ image,
Stream^ stream
)
image
The RasterImage object that contain the thumbnail (stamp) image.
stream
A Stream containing the data of an existing image file.
The stamp will be written to last page in the file. If that page already has a stamp, it will be overwritten; If the file to which the stamp is being written does not exist, an exception will occur.
This method works for regular JPEG files and Exif JPEG files. For regular JPEG files, the stamp saved is always uncompressed and can be 8 or 24 bits per pixel. The stamp can be any width and height, but the stamp data and stamp header must completely fit in an APP0 marker. Therefore, the size must be less than 64k bytes (0xFFFF).
For Exif JPEG files, the stamps can be uncompressed or JPEG compressed and must be 24 bits per pixel. Exif JPEG stamps are supposed to be 160 x 120. However, LEADTOOLS can save and read Exif JPEG stamps of other dimensions. The stamp, along with other information such as the TIFF_HEADER, 0th IFD, 1st IFD, etc. must completely fit in an APP1 marker. Therefore, the size must be less than 64k bytes (0xFFFF).
For an example, refer to SaveStamp.
Products |
Support |
Feedback: SaveStamp(RasterImage,Stream) Method - Leadtools.Codecs |
Introduction |
Help Version 19.0.2017.6.16
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.