Skip to content

Commit 2d0e2ca

Browse files
author
Evgeniy Sidenko
committed
Updated to 24.8
1 parent 55a893a commit 2d0e2ca

File tree

4 files changed

+28
-3
lines changed

4 files changed

+28
-3
lines changed

Examples/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.aspose</groupId>
55
<artifactId>imaging-java-examples</artifactId>
6-
<version>24.6</version>
6+
<version>24.8</version>
77
<packaging>jar</packaging>
88
<properties>
99
<maven.compiler.source>1.8</maven.compiler.source>
@@ -15,14 +15,14 @@
1515
<dependency>
1616
<groupId>com.aspose</groupId>
1717
<artifactId>aspose-imaging</artifactId>
18-
<version>24.6</version>
18+
<version>24.8</version>
1919
<classifier>jdk16</classifier>
2020
<type>jar</type>
2121
</dependency>
2222
<dependency>
2323
<groupId>com.aspose</groupId>
2424
<artifactId>aspose-imaging</artifactId>
25-
<version>24.6</version>
25+
<version>24.8</version>
2626
<classifier>javadoc</classifier>
2727
<type>jar</type>
2828
</dependency>

Examples/src/main/java/com/aspose/imaging/examples/RunExamples.java

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ public static void main(String[] args) throws IOException, InterruptedException,
111111
//// =====================================================
112112

113113
Logger.println("Running modifying and converting images tests:");
114+
SupportDicomYBR422.main(args);
114115
RemoveAndSaveWithMetadata.main(args);
115116
ModifyDicomTags.main(args);
116117
KernelFilters.main(args);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
package com.aspose.imaging.examples.dicom;
2+
3+
import com.aspose.imaging.Image;
4+
import com.aspose.imaging.examples.Logger;
5+
import com.aspose.imaging.examples.Utils;
6+
7+
public class SupportDicomYBR422
8+
{
9+
public static void main(String[] args)
10+
{
11+
Logger.startExample();
12+
// The path to the documents' directory.
13+
String dataDir = Utils.getSharedDataDir() + "dicom/";
14+
String inputFile = dataDir + "input.dcm";
15+
String outputFile = Utils.getOutDir() + "SupportDicomYBR422.png";
16+
try (Image image = Image.load(inputFile))
17+
{
18+
image.save(outputFile);
19+
}
20+
21+
Utils.deleteFile(outputFile);
22+
Logger.endExample();
23+
}
24+
}
195 KB
Binary file not shown.

0 commit comments

Comments
 (0)