| java.lang.Object jj2000.j2k.util.CodestreamManipulator
CodestreamManipulator | public class CodestreamManipulator (Code) | | This class takes a legal JPEG 2000 codestream and performs some
manipulation on it. Currently the manipulations supported are: Tile-parts
|
Constructor Summary | |
public | CodestreamManipulator(File file, int nt, int pptp, boolean ppm, boolean ppt, boolean tempSop, boolean tempEph) Instantiates a codestream manipulator..
Parameters: outname - The name of the original outfile Parameters: nt - The number of tiles in the image Parameters: pptp - Packets per tile-part. |
CodestreamManipulator | public CodestreamManipulator(File file, int nt, int pptp, boolean ppm, boolean ppt, boolean tempSop, boolean tempEph)(Code) | | Instantiates a codestream manipulator..
Parameters: outname - The name of the original outfile Parameters: nt - The number of tiles in the image Parameters: pptp - Packets per tile-part. If zero, no division into tilepartsis performed Parameters: ppm - Flag indicating that PPM marker is used Parameters: ppt - Flag indicating that PPT marker is used Parameters: tempSop - Flag indicating whether SOP merker should be removed Parameters: tempEph - Flag indicating whether EPH merker should be removed |
doCodestreamManipulation | public int doCodestreamManipulation() throws IOException(Code) | | This method performs the actual manipulation of the codestream which is
the reparsing for tile parts and packed packet headers
The number of bytes that the file has increased by exception: java.io.IOException - If an I/O error ocurred. |
|
|