Просмотрите наши продукты

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 для .NET 22.3

Скачать  Форум поддержки 

Сведения о файле

  • Загрузки:
  • 18
  • Размер файла:
  • 38.5 MB
  • Posted By:
  • samer.el-khatib4aspose
  • Просмотры:
  • 20
  • Дата добавления:
  • 3/7/2022

Сведения о файле

Экспорт тегов DICOM

Возникла проблема, связанная с тем, что исходные теги DICOM терялись при экспорте. Теперь эта проблема решена, и исходные теги DICOM сохраняются после экспорта.

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 в векторизованный PSD

Реализована возможность экспорта из формата APS в векторизованный формат PSD через 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);
}

Экспорт PNG в BMP 32 бита в прозрачном режиме

Раньше в некоторых экземплярах экспорта PNG в BMP 32-битная прозрачность терялась. Сейчас этот вопрос решен.

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

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

Полный список функций, улучшений и исправлений ошибок в этом выпуске можно найти на странице Aspose.Imaging for .NET 22.3.

 Русский