原創(chuàng)|產(chǎn)品更新|編輯:李顯亮|2020-03-26 09:37:08.527|閱讀 281 次
概述:近期發(fā)布了Aspose.Imaging for .NET v20.3,新增支持導出為DICOM文件格式和BMP文件格式的RLE8壓縮,優(yōu)化Tiff tile loaders,修復多處轉(zhuǎn)換異常,歡迎下載體驗。
# 界面/圖表報表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
Aspose.Imaging for .NET一種高級圖像處理控件,允許開發(fā)人員創(chuàng)建,編輯,繪制或轉(zhuǎn)換圖像。圖像導出和轉(zhuǎn)換是API核心功能之一,它允許在不安裝Photoshop應用程序或任何其他圖像編輯器的情況下保存為AdobePhotoshop®本機格式。
事實證明,Aspose.Imaging是處理各種圖像格式的強大API。除單頁圖像外,Aspose.Imaging還支持處理多頁圖像,包括GIF,TIFF,PSD,DICOM,CDR和WebP。
近期發(fā)布了Aspose.Imaging for .NET v20.3,新增支持導出為DICOM文件格式和BMP文件格式的RLE8壓縮,優(yōu)化Tiff tile loaders,修復多處轉(zhuǎn)換異常,還沒使用過的朋友可以點擊下載最新版Aspose.Imaging
key | 概述 | 類別 |
---|---|---|
IMAGINGNET-3673 | ImageSaveException:在批處理模式下使用API時,圖像導出失敗 | 功能 |
IMAGINGNET-3619 | 支持導出為DICOM文件格式 | 功能 |
IMAGINGNET-3534 | 支持BMP文件格式的RLE8壓縮 | 功能 |
IMAGINGNET-3765 | 在Aspose.Imaging NetStandard中支持System.Drawing.Common v4.7 | 增強功能 |
IMAGINGNET-3736 | Aspose.Imaging 19.12創(chuàng)業(yè)許可證未應用于.webp圖像 | 增強功能 |
IMAGINGNET-3656 | 在.NET應用程序中旋轉(zhuǎn)Tiff圖像時出現(xiàn)內(nèi)存不足異常 | 增強功能 |
IMAGINGNET-3617 | 將CDR轉(zhuǎn)換為Pdf的參數(shù)異常 | 增強功能 |
IMAGINGNET-3604 | Gif導出操作未正確應用于Gif多幀圖像 | 增強功能 |
IMAGINGNET-3594 | jpg未正確轉(zhuǎn)換為PNG | 增強功能 |
IMAGINGNET-3461 | EMF未正確轉(zhuǎn)換為PDF | 增強功能 |
IMAGINGNET-3662 | Tiff瓷磚裝載機的支持優(yōu)化策略 | 增強功能 |
IMAGINGNET-3641 | 將PNG轉(zhuǎn)換為JPG時,圖像DPI不會更改 | 增強功能 |
//DICOM file format //Digital Imaging and Communications in Medicine is the standard for the communication and management of medical imaging information. DICOM is most commonly used for storing and transmitting //medical images in medical devices such as scanners, servers, printers and picture archiving and communication systems (PACS). DICOM is used worldwide to store, exchange, and transmit //medical images. //Various programs for Windows, macOS, and Linux can view DICOM files. DICOM uses the .DCM extension. These images can also be viewed online through certain web browsers. It is only //compatible using Chrome, Opera, Firefox, and Internet Explorer with the Google Chrome Frame extension installed. //Why to use DICOM? //DICOM provides a well-tested and widely accepted foundation for Medical Image Management. The advantages of using DICOM: //Makes medical imaging information interoperable. //Integrates image-acquisition devices, PACS, workstations, VNAs and printers from different manufacturers. //Is actively developed and maintained to meet the evolving technologies and needs of medical imaging. //Is free to download and use. //Convert JPEG to DICOM //The next code sample converts JPEG image to DICOM file format: using (var image = Image.Load("sample.jpg")) { image.Save("sample.dcm", new DicomOptions()); } //Image modifications //You can use methods of the Image class to modify source image before export. For instance, you can resize and rotate the image: using (var image = Image.Load("sample.jpg")) { image.Resize(300, 300); image.RotateFlip(RotateFlipType.Rotate90FlipY); image.Save("sample.dcm", new DicomOptions()); } //Convert multipage images to DICOM //DICOM format supports multipage images. You can convert GIF or TIFF images to DICOM in the same way as JPEG images: using (var image = Image.Load("animation.gif")) { image.Save("animation.dcm", new DicomOptions()); } //Export all DICOM pages to JPEG //In case if you need to extract all the pages from DICOM file you can use the next code. It creates separate JPEG file for each DICOM page: using (var image = (DicomImage)Image.Load("animation.dcm")) { for (var index = 0; index < image.Pages.Length; index++) { var page = image.Pages[index]; page.Save($"Page {index}.jpeg", new JpegOptions()); } }
//Bugs with using VentureLicense in Webp format fixed. //Please, remove license before execute this example. string fileName = "asposenet_577_src01.webp"; string basePath = "D:"; string inputFileName = Path.Combine(basePath, fileName); string outputFileName = inputFileName + ".webp"; using (RasterImage image = (RasterImage) Image.Load(inputFileName)) { LicenseVenture(image, true); image.Save(outputFileName); } string fileName = "asposenet_577_src01.webp"; string basePath = "D:"; string inputFileName = Path.Combine(basePath, fileName); string outputFileName = Path.Combine(basePath, "false_" + fileName + ".webp"); LicenseHelper.RemoveLicense(); using (RasterImage image = (RasterImage) Image.Load(inputFileName)) { image.Save(outputFileName); }
string inputFilePath = "1.bmp"; using (BmpImage image = (BmpImage)Image.Load(inputFilePath)) { // PDF PdfOptions pdfExportOptions = new PdfOptions(); pdfExportOptions.PdfDocumentInfo = new Aspose.Imaging.FileFormats.Pdf.PdfDocumentInfo(); image.Save("1.pdf", pdfExportOptions); // PNG PngOptions pngExportOptions = new PngOptions(); image.Save("1.png", pngExportOptions, new Rectangle(28, 28, 200, 200)); }
本站文章除注明轉(zhuǎn)載外,均為本站原創(chuàng)或翻譯。歡迎任何形式的轉(zhuǎn)載,但請務必注明出處、不得修改原文相關(guān)鏈接,如果存在內(nèi)容上的異議請郵件反饋至chenjj@fc6vip.cn