Browse our Products

If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.

 

Aspose.Imaging pour .NET 22.8

Download  Support Forum 

File Details

  • Downloads:
  • 1
  • File Size:
  • 43.51MB
  • Date Added:
  • 4/8/2022

File Details

Implémentation de l’estimation de la qualité enregistrée JPG

Configurez par programmation la qualité d’image JPG via le code .NET C#.

using (JpegImage image = (JpegImage)Image.Load("cat.jpg"))
{
    bool isNotDefaultQuality = image.JpegOptions.Quality != 75;
}

Examiner les messages d’erreur dans toute la bibliothèque

Passez en revue les messages d’erreur pour les rendre appropriés et plus utiles.

try
{
    // invalid CDR with no pages
    using (var image = Image.Load("city-auto-skf_2.cdr"))
    {

    }
}
catch (Exception e)
{
    var correctMessage = "CDR document contains no pages.";
    if (e.InnerException.Message != correctMessage)
    {
        throw;
    }
}

Convertir WMZ au format PNG

Exportez le fichier compressé Windows Media Player® WMZ au format raster PNG.

using (var image = Image.Load("image.wmz"))
{
    var options = new PngOptions
    {
        VectorRasterizationOptions = new WmfRasterizationOptions()
        {
            PageHeight = image.Height,
            PageWidth = image.Width
        }
    };

    image.Save("result.png", options);
}

Pour une liste complète des fonctionnalités, améliorations et corrections de bogues de cette version, veuillez consulter Aspose.Imaging for .NET 22.8 - Release notes.

 Français