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.3

Download  Support Forum 

File Details

  • Téléchargements :
  • 18
  • Taille du fichier :
  • 38.5 MB
  • Posted By:
  • samer.el-khatib4aspose
  • Vues :
  • 20
  • Date d'ajout :
  • 3/7/2022

File Details

Exportation de balises DICOM

Il y avait un problème de perte des balises d’origine du DICOM lors de l’exportation. Maintenant, ce problème a été résolu et les balises DICOM d’origine sont conservées après l’exportation.

using (DicomImage image = (DicomImage)Image.Load("IMG-0001-00001.dcm"))
{
    image.Save(outputFilePath);

    using (DicomImage imageSaved = (DicomImage)Image.Load("output1.dcm"))
    {
        bool isSuccess = Math.Abs(imageSaved.FileInfo.DicomInfo.Count - image.FileInfo.DicomInfo.Count) < 5;
    }
}

APS vers exportation PSD vectorisée

Implémentation de la fonctionnalité d’exportation du format APS au format PSD vectorisé via l’API.

//Export vector image to PSD format keeping vector shapes

//Aspose.Imaging allows to export vector image formats such as CDR, EMF, EPS, ODG, SVG, WMF to the PSD format, 
//while keeping vector properties of the original, utilizing PSD Shapes, Paths //and Vector Masks.
//Currently, export of not very complex shapes is supported, whithout texture brushes or open shapes with stroke, 
//which will be improved in the upcoming releases.
//Example

//Export from the CDR format to the PSD format preserving vector 
//properties is as simple as the following snippet:

using (Image image = Imaging.Image.Load("sample.cdr"))
{
    PsdOptions imageOptions = new PsdOptions()
    {
        VectorRasterizationOptions = options,
        VectorizationOptions = new PsdVectorizationOptions()
        {
            VectorDataCompositionMode = VectorDataCompositionMode.SeparateLayers
        }
    };
    imageOptions.VectorRasterizationOptions.PageWidth = image.Width;
    imageOptions.VectorRasterizationOptions.PageHeight = image.Height;

    image.Save(outputFileName, imageOptions);
}

Exporter PNG vers BMP 32 bits en mode transparent

Auparavant, dans certaines instances d’exportation PNG vers BMP 32 bits, la transparence était perdue. Maintenant, ce problème a été résolu.

var sourcePath = "input.png"; // png image with alpha
var outputPath = "output-bmp.bmp";

using (Image pngImage = Image.Load(sourcePath))
{
    pngImage.Save(outputPath, new BmpOptions());
}

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

 Français