 | PdfImageObjectEncodeAsJpeg Method |
Encode this image object using a DCT (discrete cosine transform) technique based on the JPEG standard with the specified quality and an optional ICC profile.
Namespace: Patagames.Pdf.NetAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 5.1.3
Syntaxpublic bool EncodeAsJpeg(
int quality = 75,
byte[] iccProfile = null
)
Public Function EncodeAsJpeg (
Optional quality As Integer = 75,
Optional iccProfile As Byte() = Nothing
) As Boolean
public:
bool EncodeAsJpeg(
int quality = 75,
array<unsigned char>^ iccProfile = nullptr
)
member EncodeAsJpeg :
?quality : int *
?iccProfile : byte[]
(* Defaults:
let _quality = defaultArg quality 75
let _iccProfile = defaultArg iccProfile null
*)
-> bool public boolean EncodeAsJpeg(
int quality = 75,
byte[] iccProfile = null
)
function EncodeAsJpeg(quality, iccProfile);
Parameters
- quality Int32 (Optional)
- The quality factor 0 - 100.
- iccProfile Byte (Optional)
- Optional icc profile.
Return Value
Boolean[Missing <returns> documentation for "M:Patagames.Pdf.Net.PdfImageObject.EncodeAsJpeg(System.Int32,System.Byte[])"]
See Also