Méthode | Description | |
---|---|---|
SaveJpeg ( this writeableBitmap, Stream outputStream, int quality ) : void |
Encodes a WriteableBitmap object into a JPEG stream, with parameters for setting the target quality of the JPEG file.
|
|
SaveJpeg ( this writeableBitmap, Stream outputStream, int targetWidth, int targetHeight, int quality ) : void |
Encodes a WriteableBitmap object into a JPEG stream, with parameters for setting the target width, height, and quality of the JPEG file.
|
|
SaveJpegAsync ( this writeableBitmap, Stream outputStream, int quality ) : System.Threading.Tasks.Task |
Encodes a WriteableBitmap object into a JPEG stream, with parameters for setting the target quality of the JPEG file.
|
|
SaveJpegAsync ( this writeableBitmap, Stream outputStream, int targetWidth, int targetHeight, int quality ) : System.Threading.Tasks.Task |
Encodes a WriteableBitmap object into a JPEG stream, with parameters for setting the target width, height, and quality of the JPEG file.
|
|
SaveJpegAsync ( this writeableBitmap, Stream outputStream, int targetWidth, int targetHeight, int orientation, int quality ) : System.Threading.Tasks.Task |
Encodes a WriteableBitmap object into a JPEG stream, with parameters for setting the target width, height, orientation, and quality of the JPEG file.
|
|
SavePng ( this writeableBitmap, Stream outputStream ) : void |
Encodes a WriteableBitmap object into a PNG stream.
|
|
SavePng ( this writeableBitmap, Stream outputStream, CompressionLevel compressionLevel ) : void |
Encodes a WriteableBitmap object into a PNG stream, using the specified output compression.
|
|
SavePng ( this writeableBitmap, Stream outputStream, |
Encodes a WriteableBitmap object into a PNG stream, using the specified output WriteableBitmapSavePngParameters.
|
|
SavePngAsync ( this writeableBitmap, Stream outputStream ) : System.Threading.Tasks.Task |
Encodes a WriteableBitmap object into a PNG stream.
|
|
SavePngAsync ( this writeableBitmap, Stream outputStream, CompressionLevel compressionLevel ) : System.Threading.Tasks.Task |
Encodes a WriteableBitmap object into a PNG stream, using the specified output compression.
|
|
SavePngAsync ( this writeableBitmap, Stream outputStream, |
Encodes a WriteableBitmap object into a PNG stream, using the specified output WriteableBitmapSavePngParameters.
|
Méthode | Description | |
---|---|---|
CreateChunk ( ) : byte[] | ||
CreateChunkFromInt ( int value ) : byte[] | ||
CreateChunkFromString ( string value ) : byte[] | ||
CreateChunkFromUint ( uint value ) : byte[] | ||
WriteChunk ( Stream outputStream, string type, byte data ) : void | ||
WriteDataChunks ( Stream outputStream, System.Windows.Media.Imaging.WriteableBitmap writeableBitmap, |
||
WriteFooter ( Stream outputStream ) : void | ||
WriteGamma ( Stream outputStream, |
||
WriteHeader ( Stream outputStream, System.Windows.Media.Imaging.WriteableBitmap writeableBitmap ) : void | ||
WritePhysics ( Stream outputStream, |
public static SaveJpeg ( this writeableBitmap, Stream outputStream, int quality ) : void | ||
writeableBitmap | this | The WriteableBitmap object. |
outputStream | Stream | The image data stream. |
quality | int | This parameter represents the quality of the JPEG photo with a range between 0 and 100, with 100 being the best photo quality. We recommend that you do not fall lower than a value of 70. because JPEG picture quality diminishes significantly below that level. |
Résultat | void |
public static SaveJpeg ( this writeableBitmap, Stream outputStream, int targetWidth, int targetHeight, int quality ) : void | ||
writeableBitmap | this | The WriteableBitmap object. |
outputStream | Stream | The image data stream. |
targetWidth | int | The target width of the file. |
targetHeight | int | The target height of the file. |
quality | int | This parameter represents the quality of the JPEG photo with a range between 0 and 100, with 100 being the best photo quality. We recommend that you do not fall lower than a value of 70. because JPEG picture quality diminishes significantly below that level. |
Résultat | void |
public static SaveJpegAsync ( this writeableBitmap, Stream outputStream, int quality ) : System.Threading.Tasks.Task | ||
writeableBitmap | this | The WriteableBitmap object. |
outputStream | Stream | The image data stream. |
quality | int | This parameter represents the quality of the JPEG photo with a range between 0 and 100, with 100 being the best photo quality. We recommend that you do not fall lower than a value of 70. because JPEG picture quality diminishes significantly below that level. |
Résultat | System.Threading.Tasks.Task |
public static SaveJpegAsync ( this writeableBitmap, Stream outputStream, int targetWidth, int targetHeight, int quality ) : System.Threading.Tasks.Task | ||
writeableBitmap | this | The WriteableBitmap object. |
outputStream | Stream | The image data stream. |
targetWidth | int | The target width of the file. |
targetHeight | int | The target height of the file. |
quality | int | This parameter represents the quality of the JPEG photo with a range between 0 and 100, with 100 being the best photo quality. We recommend that you do not fall lower than a value of 70. because JPEG picture quality diminishes significantly below that level. |
Résultat | System.Threading.Tasks.Task |
public static SaveJpegAsync ( this writeableBitmap, Stream outputStream, int targetWidth, int targetHeight, int orientation, int quality ) : System.Threading.Tasks.Task | ||
writeableBitmap | this | The WriteableBitmap object. |
outputStream | Stream | The image data stream. |
targetWidth | int | The target width of the file. |
targetHeight | int | The target height of the file. |
orientation | int | This parameter is not currently used by this method. Use a value of 0 as a placeholder. |
quality | int | This parameter represents the quality of the JPEG photo with a range between 0 and 100, with 100 being the best photo quality. We recommend that you do not fall lower than a value of 70. because JPEG picture quality diminishes significantly below that level. |
Résultat | System.Threading.Tasks.Task |
public static SavePng ( this writeableBitmap, Stream outputStream ) : void | ||
writeableBitmap | this | The writeable bitmap. |
outputStream | Stream | The image data stream. |
Résultat | void |
public static SavePng ( this writeableBitmap, Stream outputStream, CompressionLevel compressionLevel ) : void | ||
writeableBitmap | this | The writeable bitmap. |
outputStream | Stream | The image data stream. |
compressionLevel | CompressionLevel | The image compression level. |
Résultat | void |
public static SavePng ( this writeableBitmap, Stream outputStream, |
||
writeableBitmap | this | The writeable bitmap. |
outputStream | Stream | The image data stream. |
parameters | The image save parameters. | |
Résultat | void |
public static SavePngAsync ( this writeableBitmap, Stream outputStream ) : System.Threading.Tasks.Task | ||
writeableBitmap | this | The writeable bitmap. |
outputStream | Stream | The image data stream. |
Résultat | System.Threading.Tasks.Task |
public static SavePngAsync ( this writeableBitmap, Stream outputStream, CompressionLevel compressionLevel ) : System.Threading.Tasks.Task | ||
writeableBitmap | this | The writeable bitmap. |
outputStream | Stream | The image data stream. |
compressionLevel | CompressionLevel | The image compression level. |
Résultat | System.Threading.Tasks.Task |
public static SavePngAsync ( this writeableBitmap, Stream outputStream, |
||
writeableBitmap | this | The writeable bitmap. |
outputStream | Stream | The image data stream. |
parameters | The image save parameters. | |
Résultat | System.Threading.Tasks.Task |