Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class MarvinImageSelectionPanel extends MarvinImagePanel {
- MarvinImagePlugin rotatorPlugin;
- /*more code*/
- private MarvinImage rotateImageLeft(MarvinImage mImage) {
- MarvinImage newImage = mImage.clone();
- this.rotatorPlugin = MarvinPluginLoader.loadImagePlugin("org.marvinproject.image.transform.rotate.jar");
- this.rotatorPlugin.show();
- this.rotatorPlugin.process(mImage, newImage, null, MarvinImageMask.NULL_MASK, false);
- return newImage;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment