AddJpegImageFromStream Method (GdPicturePDF)
In This Topic
Creates an image resource directly from your JPEG image stored in the instantiated Stream object without the need of lossy encoding and decoding process. The image resource is subsequently added into the currently loaded PDF document. You can use this resource straightforward, for example, with the
GdPicturePDF.DrawImage method. This process allows you to easily draw an image from your JPEG source file onto a page within the currently loaded PDF document.
Overload List
Overload | Description |
AddJpegImageFromStream(Stream) | Creates an image resource directly from your JPEG image stored in the instantiated Stream object without the need of lossy encoding and decoding process. The image resource is subsequently added into the currently loaded PDF document. You can use this resource straightforward, for example, with the GdPicturePDF.DrawImage method. This process allows you to easily draw an image from your JPEG source file onto a page within the currently loaded PDF document. |
AddJpegImageFromStream(Stream,Byte[]) | Creates an image resource directly from your JPEG image file without the need of lossy encoding and decoding process including option to provide ICC profile data. The image resource is subsequently added into the currently loaded PDF document. You can use this resource straightforward, for example, with the GdPicturePDF.DrawImage method. This process allows you to easily draw an image from your JPEG file onto a page within the currently loaded PDF document. |
See Also