public Rectangle applyFilterDimensions(int width, int height) {
Rectangle base = new Rectangle(width, height);
for (ImageFilter filter : m_renderSettings.getImageFilters()) {
if (filter instanceof WholeImageFilter) {
WholeImageFilter wholeFilter = (WholeImageFilter)filter;
base = wholeFilter.getTransformedSpace(base);
}
}
return base;
}