Java Image getChatLogoImageBig(int width, int height)

Here you can find the source of getChatLogoImageBig(int width, int height)

Description

get Chat Logo Image Big

License

Open Source License

Declaration

public static Image getChatLogoImageBig(int width, int height) 

Method Source Code


//package com.java2s;
import java.awt.Image;
import javax.swing.ImageIcon;

public class Main {
    public static Image getChatLogoImageBig() {
        Image image = new ImageIcon(
                Thread.currentThread().getContextClassLoader().getResource("images/logo-150.png")).getImage();
        return image;
    }/* www. java  2 s .  c  o  m*/

    public static Image getChatLogoImageBig(int width, int height) {
        return getChatLogoImage().getScaledInstance(width, height, Image.SCALE_AREA_AVERAGING);
    }

    public static Image getChatLogoImage() {
        Image image = new ImageIcon(
                Thread.currentThread().getContextClassLoader().getResource("images/logo-24.png")).getImage();
        return image;
    }

    public static Image getChatLogoImage(int width, int height) {
        return getChatLogoImage().getScaledInstance(width, height, Image.SCALE_AREA_AVERAGING);
    }
}

Related

  1. divideImage(Object obj, int rows, int cols)
  2. ensureImageLoaded(Image img)
  3. findImagefromClasspath(Class relToThisClass, String relImageName)
  4. generateImageVisualizationPanel(String path, int width, int height, int scaling)
  5. getChatLogoImage(int width, int height)
  6. getColoredImage(Color color, int width, int height)
  7. getDisabledImage(Image image)
  8. getEingabeImage(int x, int y)
  9. getHeight(Image imagen)