 
 			log("Bounding box: " + bBox)
 
-			outputWidth = bBox.width;
-			outputHeight = bBox.height;
+			outputWidth = bBox.width * scaleFactor;
+			outputHeight = bBox.height * scaleFactor;
 			offsetMatrix = new Matrix();
 			offsetMatrix.translate(bBox.x * -1, bBox.y * -1);
+			offsetMatrix.scale(scaleFactor, scaleFactor);
 
 			return;
 		}

		private var outputDirPath:String;
		private var offsetMatrix:Matrix;
		private var bBox:Rectangle;





			inputFilePath = getInputFile(ev);
			outputDirPath = getOutputDir(ev);
			scaleFactor = getScaleFactor(ev);

			log("Input file: " + inputFilePath);
			log("Output directory: " + outputDirPath);
