 | PdfImageObjectEncodeAsPng Method |
Encode this image object using the zlib/deflate compression method based on the specified predicator.
Namespace: Patagames.Pdf.NetAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 5.1.3
Syntaxpublic bool EncodeAsPng(
int predictor = 15
)
Public Function EncodeAsPng (
Optional predictor As Integer = 15
) As Boolean
public:
bool EncodeAsPng(
int predictor = 15
)
member EncodeAsPng :
?predictor : int
(* Defaults:
let _predictor = defaultArg predictor 15
*)
-> bool public boolean EncodeAsPng(
int predictor = 15
)
function EncodeAsPng(predictor);
Parameters
- predictor Int32 (Optional)
- The PNG/TIFF predicator.
Return Value
Booleantrue on success; false if any error occurred or the image format is not supported.
See Also