@Override
    public List<BufferedImage> getAllBufferedImages(final ByteSource byteSource) throws ImagingException, IOException {
        final DcxHeader dcxHeader = readDcxHeader(byteSource);
        final List<BufferedImage> images = new ArrayList<>();
        final PcxImageParser pcxImageParser = new PcxImageParser();
        for (final long element : dcxHeader.pageTable) {
            try (InputStream stream = ByteSource.getInputStream(byteSource, element)) {
                images.add(pcxImageParser.getBufferedImage(ByteSource.inputStream(stream, null), new PcxImagingParameters()));
            }
        }
        return images;
    }
Constructs a new instance with the little-endian byte order.
src/main/java/org/apache/commons/imaging/formats/dcx/DcxImageParser.java