鑰匙 | 概括 | 類別 |
---|---|---|
IMAGINGJAVA-8965 | 保存圖像時不使用 PNG CompressionLevel | 特征 |
IMAGINGJAVA-8972 | NullReferenceException:在 PNG 和任何矢量圖像格式中轉換 CMX 時 | 增強 |
IMAGINGJAVA-8971 | 無法將 ICO 圖像轉換為 JPG 格式 | 增強 |
IMAGINGJAVA-8970 | 無法打開 CMX 圖像 | 增強 |
IMAGINGJAVA-8155 | 無法將 DCM 轉換為 PNG | 增強 |
IMAGINGJAVA-8972 NullReferenceException:在 PNG 和任何矢量圖像格式的 CMX 轉換過程中
try (Image cmxImage = Image.load("complex_example.cmx"))
{
cmxImage.save("complex_example.cmx.png", new PngOptions());
cmxImage.save("complex_example.cmx.emf", new EmfOptions()); // NO Exception here
}
IMAGINGJAVA-8971 無法將 ICO 圖像轉換為 JPG 格式
String inputPath = "input.ico";
String outputPath = inputPath + ".jpg";
try (Image image = Image.load(inputPath))
{
image.save(outputPath);
}
IMAGINGJAVA-8970 無法打開 CMX 圖像
The following code creates 11 png files that are differently compressed.
try (Image image = Image.load("input.png"))
{
for (int compression = 0; compression <= 10; compression++)
{
String outputFile = String.format("compressionTest%d.png", compression);
image.save(outputFile, new PngOptions()
{{
setPngCompressionLevel(compression);
}});
}
}
IMAGINGJAVA-8155 無法將 DCM 轉換為 PNG
License lic = new License();
lic.setLicense(""); // reset license to evaluation
try (Image image = Image.load("IMG00001.dcm"))
{
image.save("file-png.png", new PngOptions());
}
更新時間:2025-06-12 10:34:42.000 | 錄入時間:2007-06-27 00:00:00.000 | 責任編輯:吉煒煒