With this update to the C# image API, you can utilize the ability to modify DICOM tags using the public API and empower developers to manage medical image data effectively. This code example highlights how to modify DICOM tags within your C# apps:
using (DicomImage image = (DicomImage)Image.Load("ttfm.dcm"))
{
image.FileInfo.UpdateTagAt(33, "Test Patient"); // "Patient's Name"
image.FileInfo.AddTag("Angular View Vector", 234);
image.FileInfo.RemoveTagAt(29); // "Station Name"
image.Save("output.dcm");
}
Source*
Text Wrapping in EMF to PDF Conversion
Aspose.Imaging for .NET 24.4 provides text wrapping functionality for optimized EMF to PDF conversion and ensures proper text rendering in the output PDF, as illustrated in the following coding snippet:
using (var emfImage = (EmfImage)Aspose.Imaging.Image.Load("D:\\50123_pg1.emf"))
{
// The original canvas is too large, resize to A4, 72 DPI
emfImage.ResizeCanvas(new Imaging.Rectangle(0, 0, 595, 842));
emfImage.Save("D:\\50123_pg1.pdf");
}
Source*
Optimized Exports
The latest release of the C# API brings different enhancements for updated document export functionality. Developers can enjoy improved EPS to SVG exports by removing processing errors and experiencing a significant performance boost for large SVG exports. Additional improvements for PS (EPS) file export ensure accurate results.
Upgraded PNG Loading
Seamlessly manage PNG file loading or reading and enhance image processing stability within your C# imaging apps.
Brand New API Additions
A collection of newly added APIs in this update empower C# developers to achieve more with Aspose.Imaging for .NET. These include methods for getting serialized streams, updating containers, and managing DICOM image information.
Download the DLLs-only package for version 24.4 of our .NET imaging API today and start developing feature-rich image processing solutions.
You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting Aspose.Imaging for .NET 24.4 Release Notes.