|
PEcopypngtohglobalDWORD PEcopypngtohglobal(hObject, lpPoint, lphGlobal, hDC);
This function stores a PNG into a global memory object and returns the size of the object. This can be used within low-level server control logic to stream PNG content to a browser, or just get the bits for a PNG image.
Returns The amount of binary data stored.
Comments This function is used internally to enable the .NET and ActiveX server controls to stream PNG states to the browser.
The hDC argument was added in v6 to aid in preparing a PNG to be sent to a printer via GdiPlus DrawImage call. Supplying the printer's target hDC helps create the high resolution PNG necessary for printing purposes.
See Also: PEserializetohglobal, PEcopyjpegtohglobal, PeFunction.Image.PngToStream |
©2022 Gigasoft, Inc. | All rights reserved.
Gigasoft is a registered trademark, and ProEssentials a trademark of Gigasoft, Inc. |