Package steganography.util
Class ImageSequenceUtils
- java.lang.Object
-
- steganography.util.ImageSequenceUtils
-
public class ImageSequenceUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ImageSequenceUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<byte[]>
sequenceDistribution(java.util.List<byte[]> imageList, byte[] payload)
Takes a payload and splits it in parts that fit in each image List entry is null if no payload split is present for the imagestatic java.util.List<byte[]>
shuffleDistribution()
-
-
-
Method Detail
-
sequenceDistribution
public static java.util.List<byte[]> sequenceDistribution(java.util.List<byte[]> imageList, byte[] payload) throws java.io.IOException, NoImageException, UnsupportedImageTypeException
Takes a payload and splits it in parts that fit in each image List entry is null if no payload split is present for the image- Parameters:
imageList
- list of image to be used to split payloadpayload
- payload to be split- Returns:
- list of payload splits (index is equal to order of image list). Entry is Null if no payload for image
- Throws:
java.io.IOException
- if IO Exception is thrown during read operationsNoImageException
- read failedUnsupportedImageTypeException
- UnsupportedImageTypeException
-
shuffleDistribution
public static java.util.List<byte[]> shuffleDistribution()
-
-