for (int i = 0; i < filters.size(); i++)
{
// TODO handling of abbreviated names belongs here, rather than in other classes
out.reset();
Filter filter = FilterFactory.INSTANCE.getFilter(filters.get(i));
decodeResult = filter.decode(in, out, parameters, i);
in = new ByteArrayInputStream(out.toByteArray());
}
byte[] finalData = out.toByteArray();
this.stream = new PDMemoryStream(finalData);
}