Scope All ProEssentials OCX Interfaces
JPEGToStream(nXPixels As Integer, nYPixels As Integer) As Variant
The JPEGToStream method is used primarily within an ActiveServerPage to produce a dynamically generated JPEG image upon page request. To insure image quality, the aspect ratio (width/height) must be between 0.333 and 10.0.
See Also: PNGToStream, OCX Methods.
HTML / ASP Example
The following is an example of using JPEGToStream. The example contains two parts, the first part is an HTML page that references the ASP page, the second part contains the ASP page.
Part1: HTML page references ASP page containing JPEGToStream.
Part2: ASP page "buildjpg.asp" containing JPEGToStream.
See Also: JpegQuality
©2022 Gigasoft, Inc. | All rights reserved.
Gigasoft is a registered trademark, and ProEssentials a trademark of Gigasoft, Inc.