Examples of transformImage()


Examples of org.jwildfire.transform.BalancingTransformer.transformImage()

        bT.setBlue(modBlue);
        bT.setContrast(modContrast);
        bT.setGamma(modGamma);
        bT.setBrightness(modBrightness);
        bT.setSaturation(modSaturation);
        bT.transformImage(img);
      }
      if (modHue != 0) {
        HSLTransformer hT = new HSLTransformer();
        hT.setHue(modHue);
        hT.transformImage(img);
View Full Code Here

Examples of org.jwildfire.transform.BalancingTransformer.transformImage()

  protected SimpleImage preProcessImage(SimpleImage pSimpleImage) {
    SimpleImage img = super.preProcessImage(pSimpleImage);
    if (imageBrightness < 100 && imageBrightness >= 0) {
      BalancingTransformer bT = new BalancingTransformer();
      bT.setBrightness((int) (-(100 - imageBrightness) * 2.55));
      bT.transformImage(img);
    }
    return img;
  }

  public boolean isWithGrid() {
View Full Code Here

Examples of org.jwildfire.transform.BalancingTransformer.transformImage()

          compImg = compImg.clone();
          BalancingTransformer bT = new BalancingTransformer();
          bT.setRed(bRed);
          bT.setGreen(bGreen);
          bT.setBlue(bBlue);
          bT.transformImage(compImg);
        }

        ComposeTransformer cT = new ComposeTransformer();
        cT.setHAlign(ComposeTransformer.HAlignment.OFF);
        cT.setVAlign(ComposeTransformer.VAlignment.OFF);
View Full Code Here

Examples of org.jwildfire.transform.ComposeTransformer.transformImage()

        composeT.setHAlign(ComposeTransformer.HAlignment.OFF);
        composeT.setVAlign(ComposeTransformer.VAlignment.OFF);
        composeT.setTop(0);
        composeT.setLeft(i * IMG_WIDTH);
        composeT.setForegroundImage(foreground);
        composeT.transformImage(preview);
      }
    }

    public SimpleImage getPreview(int pQuality) {
      if (preview == null) {
View Full Code Here

Examples of org.jwildfire.transform.ComposeTransformer.transformImage()

        cT.setVAlign(ComposeTransformer.VAlignment.OFF);
        cT.setTop(i * brickHeight);
        int left = j * brickWidth + off;
        cT.setLeft(left);
        cT.setForegroundImage(compImg);
        cT.transformImage(res);
      }
    }
  }

  public int getBrickSize() {
View Full Code Here

Examples of org.jwildfire.transform.ComposeTransformer.transformImage()

                cT.setHAlign(ComposeTransformer.HAlignment.LEFT);
                cT.setVAlign(ComposeTransformer.VAlignment.BOTTOM);
                cT.setTop(10);
                cT.setLeft(10);
                cT.setForegroundImage(layerImg);
                cT.transformImage(img);
              }
            }

            if (pDownScale != 1) {
              SimpleImage background = new SimpleImage(panelBounds.width, panelBounds.height);
View Full Code Here

Examples of org.jwildfire.transform.ComposeTransformer.transformImage()

              SimpleImage background = new SimpleImage(panelBounds.width, panelBounds.height);
              ComposeTransformer cT = new ComposeTransformer();
              cT.setHAlign(ComposeTransformer.HAlignment.CENTRE);
              cT.setVAlign(ComposeTransformer.VAlignment.CENTRE);
              cT.setForegroundImage(img);
              cT.transformImage(background);
              img = background;
            }

            imgPanel.setImage(img);
            if (!cfg.isNoControls()) {
View Full Code Here

Examples of org.jwildfire.transform.ComposeTransformer.transformImage()

              int yOff = 0;
              for (int i = 0; i < leftRenders.length; i++) {
                composeTransformer.setLeft(0);
                composeTransformer.setTop(yOff);
                composeTransformer.setForegroundImage(leftRenders[i].getImage());
                composeTransformer.transformImage(mergedImg);
                yOff += pRenderInfo.getImageHeight();
              }

              yOff = 0;
              for (int i = 0; i < rightRenders.length; i++) {
View Full Code Here

Examples of org.jwildfire.transform.ComposeTransformer.transformImage()

              yOff = 0;
              for (int i = 0; i < rightRenders.length; i++) {
                composeTransformer.setLeft(pRenderInfo.getImageWidth());
                composeTransformer.setTop(yOff);
                composeTransformer.setForegroundImage(rightRenders[i].getImage());
                composeTransformer.transformImage(mergedImg);
                yOff += pRenderInfo.getImageHeight();
              }

              return mergedRender;
            }
View Full Code Here

Examples of org.jwildfire.transform.ComposeTransformer.transformImage()

    ComposeTransformer composeTransformer = new ComposeTransformer();
    composeTransformer.setHAlign(HAlignment.OFF);
    composeTransformer.setVAlign(VAlignment.OFF);
    composeTransformer.setForegroundImage(leftRender.getImage());
    composeTransformer.transformImage(mergedImg);

    composeTransformer.setForegroundImage(rightRender.getImage());
    composeTransformer.setLeft(leftRender.getImage().getImageWidth());
    composeTransformer.transformImage(mergedImg);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.