org.kde.qt

Class QImage

public class QImage extends Object implements QtSupport

Field Summary
static intBigEndian
static intIgnoreEndian
static intLittleEndian
static intScaleFree
static intScaleMax
static intScaleMin
Constructor Summary
protected QImage(Class dummy)
QImage()
QImage(int width, int height, int depth, int numColors, int bitOrder)
QImage(int width, int height, int depth, int numColors)
QImage(int width, int height, int depth)
QImage(QSize arg1, int depth, int numColors, int bitOrder)
QImage(QSize arg1, int depth, int numColors)
QImage(QSize arg1, int depth)
QImage(String fileName, String format)
QImage(String fileName)
QImage(byte[] data)
QImage(char[] data, int w, int h, int depth, int[] colortable, int numColors, int bitOrder)
QImage(QImage arg1)
Method Summary
booleanallGray()
intbitOrder()
byte[]bits()
intbytesPerLine()
intcolor(int i)
int[]colorTable()
QImageconvertBitOrder(int arg1)
QImageconvertDepth(int arg1)
QImageconvertDepth(int arg1, int conversion_flags)
QImageconvertDepthWithPalette(int arg1, int[] p, int pc, int cf)
QImageconvertDepthWithPalette(int arg1, int[] p, int pc)
QImagecopy()
QImagecopy(int x, int y, int w, int h, int conversion_flags)
QImagecopy(int x, int y, int w, int h)
QImagecopy(QRect arg1)
booleancreate(int width, int height, int depth, int numColors, int bitOrder)
booleancreate(int width, int height, int depth, int numColors)
booleancreate(int width, int height, int depth)
booleancreate(QSize arg1, int depth, int numColors, int bitOrder)
booleancreate(QSize arg1, int depth, int numColors)
booleancreate(QSize arg1, int depth)
QImagecreateAlphaMask(int conversion_flags)
QImagecreateAlphaMask()
QImagecreateHeuristicMask(boolean clipTight)
QImagecreateHeuristicMask()
intdepth()
voiddetach()
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
intdotsPerMeterX()
intdotsPerMeterY()
voidfill(int pixel)
protected voidfinalize()
Deletes the wrapped C++ instance
static QImagefromMimeSource(String abs_name)
booleanhasAlphaBuffer()
intheight()
static StringimageFormat(String fileName)
static ArrayListinputFormatList()
static ArrayListinputFormats()
voidinvertPixels(boolean invertAlpha)
voidinvertPixels()
booleanisDisposed()
Has the wrapped C++ instance been deleted?
booleanisGrayscale()
booleanisNull()
ArrayListjumpTable()
booleanload(String fileName, String format)
booleanload(String fileName)
booleanloadFromData(char[] buf, int len, String format)
booleanloadFromData(char[] buf, int len)
booleanloadFromData(byte[] data, String format)
booleanloadFromData(byte[] data)
QImagemirror()
QImagemirror(boolean horizontally, boolean vertically)
intnumBytes()
intnumColors()
QPointoffset()
booleanop_equals(QImage arg1)
booleanop_not_equals(QImage arg1)
static ArrayListoutputFormatList()
static ArrayListoutputFormats()
intpixel(int x, int y)
intpixelIndex(int x, int y)
QRectrect()
voidreset()
booleansave(String fileName, String format, int quality)
booleansave(String fileName, String format)
booleansave(QIODeviceInterface device, String format, int quality)
booleansave(QIODeviceInterface device, String format)
QImagescale(int w, int h, int mode)
QImagescale(int w, int h)
QImagescale(QSize s, int mode)
QImagescale(QSize s)
QImagescaleHeight(int h)
QImagescaleWidth(int w)
byte[]scanLine(int arg1)
voidsetAlphaBuffer(boolean arg1)
voidsetColor(int i, int c)
voidsetDotsPerMeterX(int arg1)
voidsetDotsPerMeterY(int arg1)
voidsetNumColors(int arg1)
voidsetOffset(QPoint arg1)
voidsetPixel(int x, int y, int index_or_rgb)
voidsetText(String key, String lang, String arg3)
QSizesize()
QImagesmoothScale(int w, int h, int mode)
QImagesmoothScale(int w, int h)
QImagesmoothScale(QSize s, int mode)
QImagesmoothScale(QSize s)
QImageswapRGB()
static intsystemBitOrder()
static intsystemByteOrder()
Stringtext(String key, String lang)
Stringtext(String key)
Stringtext(QImageTextKeyLang arg1)
ArrayListtextKeys()
ArrayListtextLanguages()
booleanvalid(int x, int y)
intwidth()
ObjectxForm(QWMatrix matrix)

Field Detail

BigEndian

public static final int BigEndian

IgnoreEndian

public static final int IgnoreEndian

LittleEndian

public static final int LittleEndian

ScaleFree

public static final int ScaleFree

ScaleMax

public static final int ScaleMax

ScaleMin

public static final int ScaleMin

Constructor Detail

QImage

protected QImage(Class dummy)

QImage

public QImage()

QImage

public QImage(int width, int height, int depth, int numColors, int bitOrder)

QImage

public QImage(int width, int height, int depth, int numColors)

QImage

public QImage(int width, int height, int depth)

QImage

public QImage(QSize arg1, int depth, int numColors, int bitOrder)

QImage

public QImage(QSize arg1, int depth, int numColors)

QImage

public QImage(QSize arg1, int depth)

QImage

public QImage(String fileName, String format)

QImage

public QImage(String fileName)

QImage

public QImage(byte[] data)

QImage

public QImage(char[] data, int w, int h, int depth, int[] colortable, int numColors, int bitOrder)

QImage

public QImage(QImage arg1)

Method Detail

allGray

public boolean allGray()

bitOrder

public int bitOrder()

bits

public byte[] bits()

bytesPerLine

public int bytesPerLine()

color

public int color(int i)

colorTable

public int[] colorTable()

convertBitOrder

public QImage convertBitOrder(int arg1)

convertDepth

public QImage convertDepth(int arg1)

convertDepth

public QImage convertDepth(int arg1, int conversion_flags)

convertDepthWithPalette

public QImage convertDepthWithPalette(int arg1, int[] p, int pc, int cf)

convertDepthWithPalette

public QImage convertDepthWithPalette(int arg1, int[] p, int pc)

copy

public QImage copy()

copy

public QImage copy(int x, int y, int w, int h, int conversion_flags)

copy

public QImage copy(int x, int y, int w, int h)

copy

public QImage copy(QRect arg1)

create

public boolean create(int width, int height, int depth, int numColors, int bitOrder)

create

public boolean create(int width, int height, int depth, int numColors)

create

public boolean create(int width, int height, int depth)

create

public boolean create(QSize arg1, int depth, int numColors, int bitOrder)

create

public boolean create(QSize arg1, int depth, int numColors)

create

public boolean create(QSize arg1, int depth)

createAlphaMask

public QImage createAlphaMask(int conversion_flags)

createAlphaMask

public QImage createAlphaMask()

createHeuristicMask

public QImage createHeuristicMask(boolean clipTight)

createHeuristicMask

public QImage createHeuristicMask()

depth

public int depth()

detach

public void detach()

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()

dotsPerMeterX

public int dotsPerMeterX()

dotsPerMeterY

public int dotsPerMeterY()

fill

public void fill(int pixel)

finalize

protected void finalize()
Deletes the wrapped C++ instance

fromMimeSource

public static QImage fromMimeSource(String abs_name)

hasAlphaBuffer

public boolean hasAlphaBuffer()

height

public int height()

imageFormat

public static String imageFormat(String fileName)

inputFormatList

public static ArrayList inputFormatList()

inputFormats

public static ArrayList inputFormats()

invertPixels

public void invertPixels(boolean invertAlpha)

invertPixels

public void invertPixels()

isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?

isGrayscale

public boolean isGrayscale()

isNull

public boolean isNull()

jumpTable

public ArrayList jumpTable()

load

public boolean load(String fileName, String format)

load

public boolean load(String fileName)

loadFromData

public boolean loadFromData(char[] buf, int len, String format)

loadFromData

public boolean loadFromData(char[] buf, int len)

loadFromData

public boolean loadFromData(byte[] data, String format)

loadFromData

public boolean loadFromData(byte[] data)

mirror

public QImage mirror()

mirror

public QImage mirror(boolean horizontally, boolean vertically)

numBytes

public int numBytes()

numColors

public int numColors()

offset

public QPoint offset()

op_equals

public boolean op_equals(QImage arg1)

op_not_equals

public boolean op_not_equals(QImage arg1)

outputFormatList

public static ArrayList outputFormatList()

outputFormats

public static ArrayList outputFormats()

pixel

public int pixel(int x, int y)

pixelIndex

public int pixelIndex(int x, int y)

rect

public QRect rect()

reset

public void reset()

save

public boolean save(String fileName, String format, int quality)

save

public boolean save(String fileName, String format)

save

public boolean save(QIODeviceInterface device, String format, int quality)

save

public boolean save(QIODeviceInterface device, String format)

scale

public QImage scale(int w, int h, int mode)

scale

public QImage scale(int w, int h)

scale

public QImage scale(QSize s, int mode)

scale

public QImage scale(QSize s)

scaleHeight

public QImage scaleHeight(int h)

scaleWidth

public QImage scaleWidth(int w)

scanLine

public byte[] scanLine(int arg1)

setAlphaBuffer

public void setAlphaBuffer(boolean arg1)

setColor

public void setColor(int i, int c)

setDotsPerMeterX

public void setDotsPerMeterX(int arg1)

setDotsPerMeterY

public void setDotsPerMeterY(int arg1)

setNumColors

public void setNumColors(int arg1)

setOffset

public void setOffset(QPoint arg1)

setPixel

public void setPixel(int x, int y, int index_or_rgb)

setText

public void setText(String key, String lang, String arg3)

size

public QSize size()

smoothScale

public QImage smoothScale(int w, int h, int mode)

smoothScale

public QImage smoothScale(int w, int h)

smoothScale

public QImage smoothScale(QSize s, int mode)

smoothScale

public QImage smoothScale(QSize s)

swapRGB

public QImage swapRGB()

systemBitOrder

public static int systemBitOrder()

systemByteOrder

public static int systemByteOrder()

text

public String text(String key, String lang)

text

public String text(String key)

text

public String text(QImageTextKeyLang arg1)

textKeys

public ArrayList textKeys()

textLanguages

public ArrayList textLanguages()

valid

public boolean valid(int x, int y)

width

public int width()

xForm

public Object xForm(QWMatrix matrix)