/* */ public static ImagePresenter fromGWorld(QDGraphics paramQDGraphics, QDRect paramQDRect, int paramInt1, int paramInt2, int paramInt3, CodecComponent paramCodecComponent)
/* */ throws QTException
/* */ {
/* 127 */ int i = QTImage.getMaxCompressionSize(paramQDGraphics, paramQDRect, paramInt1, paramInt2, paramInt3, paramCodecComponent);
/* 128 */ RawEncodedImage localRawEncodedImage = new RawEncodedImage(i, true);
/* 129 */ ImageDescription localImageDescription = QTImage.compress(paramQDGraphics, paramQDRect, paramInt2, paramInt3, localRawEncodedImage);
/* 130 */ localRawEncodedImage.setSize(localImageDescription.getDataSize());
/* 131 */ ImagePresenter localImagePresenter = new ImagePresenter(paramQDRect);
/* 132 */ localImagePresenter.optimiseRedraw = false;
/* 133 */ localImagePresenter.setImageData(localRawEncodedImage, localImageDescription);
/* 134 */ return localImagePresenter;
/* */ }