|
PEcopyjpegtofileBOOL PEcopyjpegtofile (hObject, lpPoint, lpszFilename)
This function places the current image, in the form of a jpeg, into a file named by lpszFilename.
lpszFilename This pointer must identify a valid filename.
Returns NonZero if the function was successful, otherwise Zero.
Comments .NET developers, see PeFunction.Image.JpegToFile
Ocx|Vcl developers, see the PEactions property.
With OCX interface, you can call this function as follows... Pego1.PEnarg1 = 'width in pixels Pego1.PEnarg2 = 'height in pixels Pego1.PEstrarg1 = 'filename Pego1.PEactions = 22 ' Calls PEcopyjpegtofile
In Delphi, use... PEGraph1.PEnarg1 := {width in pixels}; PEGraph1.PEnarg2 := {height in pixels}; PEGraph1.PEstrarg1 := {filename}; PEGraph1.PEactions := gJpegToFile; {Calls PEcopyjpegtofile}
See Also: AllowJPEGOutput, JpegQuality |
©2022 Gigasoft, Inc. | All rights reserved.
Gigasoft is a registered trademark, and ProEssentials a trademark of Gigasoft, Inc. |