super(name);
Frame input = pullInput("image"); Bitmap bitmap = input.getBitmap(); bitmap.compress(CompressFormat.JPEG, mQuality, mOutputStream);
addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA, FrameFormat.TARGET_UNSPECIFIED));