SHOW:
|
|
- or go back to the newest paste.
1 | public class MarvinImageSelectionPanel extends MarvinImagePanel { | |
2 | MarvinImagePlugin rotatorPlugin; | |
3 | ||
4 | /*more code*/ | |
5 | ||
6 | private MarvinImage rotateImageLeft(MarvinImage mImage) { | |
7 | MarvinImage newImage = mImage.clone(); | |
8 | - | this.rotatorPlugin = MarvinPluginLoader.loadImagePlugin("org.marvinproject.image.edge.edgeDetector.jar"); |
8 | + | this.rotatorPlugin = MarvinPluginLoader.loadImagePlugin("org.marvinproject.image.transform.rotate.jar"); |
9 | this.rotatorPlugin.show(); | |
10 | this.rotatorPlugin.process(mImage, newImage, null, MarvinImageMask.NULL_MASK, false); | |
11 | return newImage; | |
12 | } | |
13 | } |