Skip to content

Commit

Permalink
Updated to 24.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeniy Sidenko committed Aug 14, 2024
1 parent 55a893a commit 2d0e2ca
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.aspose</groupId>
<artifactId>imaging-java-examples</artifactId>
<version>24.6</version>
<version>24.8</version>
<packaging>jar</packaging>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
Expand All @@ -15,14 +15,14 @@
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-imaging</artifactId>
<version>24.6</version>
<version>24.8</version>
<classifier>jdk16</classifier>
<type>jar</type>
</dependency>
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-imaging</artifactId>
<version>24.6</version>
<version>24.8</version>
<classifier>javadoc</classifier>
<type>jar</type>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ public static void main(String[] args) throws IOException, InterruptedException,
//// =====================================================

Logger.println("Running modifying and converting images tests:");
SupportDicomYBR422.main(args);
RemoveAndSaveWithMetadata.main(args);
ModifyDicomTags.main(args);
KernelFilters.main(args);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
package com.aspose.imaging.examples.dicom;

import com.aspose.imaging.Image;
import com.aspose.imaging.examples.Logger;
import com.aspose.imaging.examples.Utils;

public class SupportDicomYBR422
{
public static void main(String[] args)
{
Logger.startExample();
// The path to the documents' directory.
String dataDir = Utils.getSharedDataDir() + "dicom/";
String inputFile = dataDir + "input.dcm";
String outputFile = Utils.getOutDir() + "SupportDicomYBR422.png";
try (Image image = Image.load(inputFile))
{
image.save(outputFile);
}

Utils.deleteFile(outputFile);
Logger.endExample();
}
}
Binary file added Examples/src/main/resources/dicom/input.DCM
Binary file not shown.

0 comments on commit 2d0e2ca

Please sign in to comment.