Skip to content

dernasherbrezon/ssdv4j

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About Build Status Quality Gate Status

SSDV decoder, written in java.

Usage

Configure maven:

<dependency>
	<groupId>ru.r2cloud</groupId>
	<artifactId>ssdv4j</artifactId>
	<version>1.3</version>
</dependency>

Configure source. It can be java.util.List<SsdvPacket> or ru.r2cloud.ssdv.SsdvInputStream. For example:

try (SsdvInputStream is = new SsdvInputStream(SsdvInputStreamTest.class.getClassLoader().getResourceAsStream("file.bin"), 189)) {
	SsdvDecoder decoder = new SsdvDecoder(is);
	while (decoder.hasNext()) {
		SsdvImage cur = decoder.next();
	}
}

Class ru.r2cloud.ssdv.SsdvImage contains java.awt.image.BufferedImage and some ssdv statistics.