Table of Contents

Class ImageWriter

Namespace
Javax.Imageio
Assembly
MASES.JNet.dll
public class ImageWriter : ImageTranscoder, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IImageTranscoder
Inheritance
JVMBridgeBase
JVMBridgeBase<ImageTranscoder>
ImageWriter
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<ImageTranscoder>.IsAssignableFrom(IJavaType)
JVMBridgeBase<ImageTranscoder>.IsAssignableFrom<T>()
JVMBridgeBase<ImageTranscoder>.Execute<T>(params T[])
JVMBridgeBase<ImageTranscoder>.DynBridgeClazz
JVMBridgeBase<ImageTranscoder>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

ImageWriter()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("ImageWriter class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ImageWriter()

ImageWriter(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

[Obsolete("ImageWriter class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ImageWriter(params object[] args)

Parameters

args object[]

Properties

AvailableLocales

public Locale[] AvailableLocales { get; }

Property Value

Locale[]

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

DefaultWriteParam

public ImageWriteParam DefaultWriteParam { get; }

Property Value

ImageWriteParam

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Locale

public Locale Locale { get; set; }

Property Value

Locale

OriginatingProvider

public ImageWriterSpi OriginatingProvider { get; }

Property Value

ImageWriterSpi

Output

public object Output { get; set; }

Property Value

object

Methods

Abort()

public void Abort()

AddIIOWriteProgressListener(IIOWriteProgressListener)

public void AddIIOWriteProgressListener(IIOWriteProgressListener arg0)

Parameters

arg0 IIOWriteProgressListener

IIOWriteProgressListener

AddIIOWriteWarningListener(IIOWriteWarningListener)

public void AddIIOWriteWarningListener(IIOWriteWarningListener arg0)

Parameters

arg0 IIOWriteWarningListener

IIOWriteWarningListener

CanInsertEmpty(int)

public bool CanInsertEmpty(int arg0)

Parameters

arg0 int

int

Returns

bool

bool

Exceptions

IOException

CanInsertImage(int)

public bool CanInsertImage(int arg0)

Parameters

arg0 int

int

Returns

bool

bool

Exceptions

IOException

CanRemoveImage(int)

public bool CanRemoveImage(int arg0)

Parameters

arg0 int

int

Returns

bool

bool

Exceptions

IOException

CanReplaceImageMetadata(int)

public bool CanReplaceImageMetadata(int arg0)

Parameters

arg0 int

int

Returns

bool

bool

Exceptions

IOException

CanReplacePixels(int)

public bool CanReplacePixels(int arg0)

Parameters

arg0 int

int

Returns

bool

bool

Exceptions

IOException

CanReplaceStreamMetadata()

public bool CanReplaceStreamMetadata()

Returns

bool

bool

Exceptions

IOException

CanWriteEmpty()

public bool CanWriteEmpty()

Returns

bool

bool

Exceptions

IOException

CanWriteRasters()

public bool CanWriteRasters()

Returns

bool

bool

CanWriteSequence()

public bool CanWriteSequence()

Returns

bool

bool

ConvertImageMetadata(IIOMetadata, ImageTypeSpecifier, ImageWriteParam)

public IIOMetadata ConvertImageMetadata(IIOMetadata arg0, ImageTypeSpecifier arg1, ImageWriteParam arg2)

Parameters

arg0 IIOMetadata

IIOMetadata

arg1 ImageTypeSpecifier

ImageTypeSpecifier

arg2 ImageWriteParam

ImageWriteParam

Returns

IIOMetadata

IIOMetadata

ConvertStreamMetadata(IIOMetadata, ImageWriteParam)

public IIOMetadata ConvertStreamMetadata(IIOMetadata arg0, ImageWriteParam arg1)

Parameters

arg0 IIOMetadata

IIOMetadata

arg1 ImageWriteParam

ImageWriteParam

Returns

IIOMetadata

IIOMetadata

Dispose()

public void Dispose()

EndInsertEmpty()

public void EndInsertEmpty()

Exceptions

IOException

EndReplacePixels()

public void EndReplacePixels()

Exceptions

IOException

EndWriteEmpty()

public void EndWriteEmpty()

Exceptions

IOException

EndWriteSequence()

public void EndWriteSequence()

Exceptions

IOException

GetDefaultImageMetadata(ImageTypeSpecifier, ImageWriteParam)

public IIOMetadata GetDefaultImageMetadata(ImageTypeSpecifier arg0, ImageWriteParam arg1)

Parameters

arg0 ImageTypeSpecifier

ImageTypeSpecifier

arg1 ImageWriteParam

ImageWriteParam

Returns

IIOMetadata

IIOMetadata

GetDefaultStreamMetadata(ImageWriteParam)

public IIOMetadata GetDefaultStreamMetadata(ImageWriteParam arg0)

Parameters

arg0 ImageWriteParam

ImageWriteParam

Returns

IIOMetadata

IIOMetadata

GetNumThumbnailsSupported(ImageTypeSpecifier, ImageWriteParam, IIOMetadata, IIOMetadata)

public int GetNumThumbnailsSupported(ImageTypeSpecifier arg0, ImageWriteParam arg1, IIOMetadata arg2, IIOMetadata arg3)

Parameters

arg0 ImageTypeSpecifier

ImageTypeSpecifier

arg1 ImageWriteParam

ImageWriteParam

arg2 IIOMetadata

IIOMetadata

arg3 IIOMetadata

IIOMetadata

Returns

int

int

GetPreferredThumbnailSizes(ImageTypeSpecifier, ImageWriteParam, IIOMetadata, IIOMetadata)

public Dimension[] GetPreferredThumbnailSizes(ImageTypeSpecifier arg0, ImageWriteParam arg1, IIOMetadata arg2, IIOMetadata arg3)

Parameters

arg0 ImageTypeSpecifier

ImageTypeSpecifier

arg1 ImageWriteParam

ImageWriteParam

arg2 IIOMetadata

IIOMetadata

arg3 IIOMetadata

IIOMetadata

Returns

Dimension[]

Dimension

PrepareInsertEmpty<Arg5ExtendsJava_Awt_ImageNs_BufferedImage>(int, ImageTypeSpecifier, int, int, IIOMetadata, List<Arg5ExtendsJava_Awt_ImageNs_BufferedImage>, ImageWriteParam)

public void PrepareInsertEmpty<Arg5ExtendsJava_Awt_ImageNs_BufferedImage>(int arg0, ImageTypeSpecifier arg1, int arg2, int arg3, IIOMetadata arg4, List<Arg5ExtendsJava_Awt_ImageNs_BufferedImage> arg5, ImageWriteParam arg6) where Arg5ExtendsJava_Awt_ImageNs_BufferedImage : BufferedImage

Parameters

arg0 int

int

arg1 ImageTypeSpecifier

ImageTypeSpecifier

arg2 int

int

arg3 int

int

arg4 IIOMetadata

IIOMetadata

arg5 List<Arg5ExtendsJava_Awt_ImageNs_BufferedImage>

List

arg6 ImageWriteParam

ImageWriteParam

Type Parameters

Arg5ExtendsJava_Awt_ImageNs_BufferedImage

BufferedImage

Exceptions

IOException

PrepareReplacePixels(int, Rectangle)

public void PrepareReplacePixels(int arg0, Rectangle arg1)

Parameters

arg0 int

int

arg1 Rectangle

Rectangle

Exceptions

IOException

PrepareWriteEmpty<Arg5ExtendsJava_Awt_ImageNs_BufferedImage>(IIOMetadata, ImageTypeSpecifier, int, int, IIOMetadata, List<Arg5ExtendsJava_Awt_ImageNs_BufferedImage>, ImageWriteParam)

public void PrepareWriteEmpty<Arg5ExtendsJava_Awt_ImageNs_BufferedImage>(IIOMetadata arg0, ImageTypeSpecifier arg1, int arg2, int arg3, IIOMetadata arg4, List<Arg5ExtendsJava_Awt_ImageNs_BufferedImage> arg5, ImageWriteParam arg6) where Arg5ExtendsJava_Awt_ImageNs_BufferedImage : BufferedImage

Parameters

arg0 IIOMetadata

IIOMetadata

arg1 ImageTypeSpecifier

ImageTypeSpecifier

arg2 int

int

arg3 int

int

arg4 IIOMetadata

IIOMetadata

arg5 List<Arg5ExtendsJava_Awt_ImageNs_BufferedImage>

List

arg6 ImageWriteParam

ImageWriteParam

Type Parameters

Arg5ExtendsJava_Awt_ImageNs_BufferedImage

BufferedImage

Exceptions

IOException

PrepareWriteSequence(IIOMetadata)

public void PrepareWriteSequence(IIOMetadata arg0)

Parameters

arg0 IIOMetadata

IIOMetadata

Exceptions

IOException

RemoveAllIIOWriteProgressListeners()

public void RemoveAllIIOWriteProgressListeners()

RemoveAllIIOWriteWarningListeners()

public void RemoveAllIIOWriteWarningListeners()

RemoveIIOWriteProgressListener(IIOWriteProgressListener)

public void RemoveIIOWriteProgressListener(IIOWriteProgressListener arg0)

Parameters

arg0 IIOWriteProgressListener

IIOWriteProgressListener

RemoveIIOWriteWarningListener(IIOWriteWarningListener)

public void RemoveIIOWriteWarningListener(IIOWriteWarningListener arg0)

Parameters

arg0 IIOWriteWarningListener

IIOWriteWarningListener

RemoveImage(int)

public void RemoveImage(int arg0)

Parameters

arg0 int

int

Exceptions

IOException

ReplaceImageMetadata(int, IIOMetadata)

public void ReplaceImageMetadata(int arg0, IIOMetadata arg1)

Parameters

arg0 int

int

arg1 IIOMetadata

IIOMetadata

Exceptions

IOException

ReplacePixels(Raster, ImageWriteParam)

public void ReplacePixels(Raster arg0, ImageWriteParam arg1)

Parameters

arg0 Raster

Raster

arg1 ImageWriteParam

ImageWriteParam

Exceptions

IOException

ReplacePixels(RenderedImage, ImageWriteParam)

public void ReplacePixels(RenderedImage arg0, ImageWriteParam arg1)

Parameters

arg0 RenderedImage

RenderedImage

arg1 ImageWriteParam

ImageWriteParam

Exceptions

IOException

ReplaceStreamMetadata(IIOMetadata)

public void ReplaceStreamMetadata(IIOMetadata arg0)

Parameters

arg0 IIOMetadata

IIOMetadata

Exceptions

IOException

Reset()

public void Reset()

Write(RenderedImage)

public void Write(RenderedImage arg0)

Parameters

arg0 RenderedImage

RenderedImage

Exceptions

IOException

Write(IIOImage)

public void Write(IIOImage arg0)

Parameters

arg0 IIOImage

IIOImage

Exceptions

IOException

Write(IIOMetadata, IIOImage, ImageWriteParam)

public void Write(IIOMetadata arg0, IIOImage arg1, ImageWriteParam arg2)

Parameters

arg0 IIOMetadata

IIOMetadata

arg1 IIOImage

IIOImage

arg2 ImageWriteParam

ImageWriteParam

Exceptions

IOException

WriteInsert(int, IIOImage, ImageWriteParam)

public void WriteInsert(int arg0, IIOImage arg1, ImageWriteParam arg2)

Parameters

arg0 int

int

arg1 IIOImage

IIOImage

arg2 ImageWriteParam

ImageWriteParam

Exceptions

IOException

WriteToSequence(IIOImage, ImageWriteParam)

public void WriteToSequence(IIOImage arg0, ImageWriteParam arg1)

Parameters

arg0 IIOImage

IIOImage

arg1 ImageWriteParam

ImageWriteParam

Exceptions

IOException