Class ImageWriter
public class ImageWriter : ImageTranscoder, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IImageTranscoder
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<ImageTranscoder>ImageWriter
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<ImageTranscoder>.SExecuteWithSignature<TReturn>(Type, string, string, params object[])JVMBridgeBase<ImageTranscoder>.IsAssignableFrom(IJavaType)JVMBridgeBase<ImageTranscoder>.IsAssignableFrom<T>()JVMBridgeBase<ImageTranscoder>.Execute<T>(params T[])JVMBridgeBase<ImageTranscoder>.DynBridgeClazzJVMBridgeBase<ImageTranscoder>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.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
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
DefaultWriteParam
public ImageWriteParam DefaultWriteParam { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Locale
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/imageio/ImageWriter.html#getLocale() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/imageio/ImageWriter.html#setLocale(java.util.Locale)
public Locale Locale { get; set; }
Property Value
OriginatingProvider
public ImageWriterSpi OriginatingProvider { get; }
Property Value
Output
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/imageio/ImageWriter.html#getOutput() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/imageio/ImageWriter.html#setOutput(java.lang.Object)
public object Output { get; set; }
Property Value
Methods
Abort()
public void Abort()
AddIIOWriteProgressListener(IIOWriteProgressListener)
public void AddIIOWriteProgressListener(IIOWriteProgressListener arg0)
Parameters
AddIIOWriteWarningListener(IIOWriteWarningListener)
public void AddIIOWriteWarningListener(IIOWriteWarningListener arg0)
Parameters
CanInsertEmpty(int)
public bool CanInsertEmpty(int arg0)
Parameters
Returns
Exceptions
CanInsertImage(int)
public bool CanInsertImage(int arg0)
Parameters
Returns
Exceptions
CanRemoveImage(int)
public bool CanRemoveImage(int arg0)
Parameters
Returns
Exceptions
CanReplaceImageMetadata(int)
public bool CanReplaceImageMetadata(int arg0)
Parameters
Returns
Exceptions
CanReplacePixels(int)
public bool CanReplacePixels(int arg0)
Parameters
Returns
Exceptions
CanReplaceStreamMetadata()
public bool CanReplaceStreamMetadata()
Returns
Exceptions
CanWriteEmpty()
public bool CanWriteEmpty()
Returns
Exceptions
CanWriteRasters()
public bool CanWriteRasters()
Returns
CanWriteSequence()
public bool CanWriteSequence()
Returns
ConvertImageMetadata(IIOMetadata, ImageTypeSpecifier, ImageWriteParam)
public IIOMetadata ConvertImageMetadata(IIOMetadata arg0, ImageTypeSpecifier arg1, ImageWriteParam arg2)
Parameters
arg0
IIOMetadataarg1
ImageTypeSpecifierarg2
ImageWriteParam
Returns
ConvertStreamMetadata(IIOMetadata, ImageWriteParam)
public IIOMetadata ConvertStreamMetadata(IIOMetadata arg0, ImageWriteParam arg1)
Parameters
arg0
IIOMetadataarg1
ImageWriteParam
Returns
Dispose()
public void Dispose()
EndInsertEmpty()
public void EndInsertEmpty()
Exceptions
EndReplacePixels()
public void EndReplacePixels()
Exceptions
EndWriteEmpty()
public void EndWriteEmpty()
Exceptions
EndWriteSequence()
public void EndWriteSequence()
Exceptions
GetDefaultImageMetadata(ImageTypeSpecifier, ImageWriteParam)
public IIOMetadata GetDefaultImageMetadata(ImageTypeSpecifier arg0, ImageWriteParam arg1)
Parameters
Returns
GetDefaultStreamMetadata(ImageWriteParam)
public IIOMetadata GetDefaultStreamMetadata(ImageWriteParam arg0)
Parameters
Returns
GetNumThumbnailsSupported(ImageTypeSpecifier, ImageWriteParam, IIOMetadata, IIOMetadata)
public int GetNumThumbnailsSupported(ImageTypeSpecifier arg0, ImageWriteParam arg1, IIOMetadata arg2, IIOMetadata arg3)
Parameters
arg0
ImageTypeSpecifierarg1
ImageWriteParamarg2
IIOMetadataarg3
IIOMetadata
Returns
GetPreferredThumbnailSizes(ImageTypeSpecifier, ImageWriteParam, IIOMetadata, IIOMetadata)
public Dimension[] GetPreferredThumbnailSizes(ImageTypeSpecifier arg0, ImageWriteParam arg1, IIOMetadata arg2, IIOMetadata arg3)
Parameters
arg0
ImageTypeSpecifierarg1
ImageWriteParamarg2
IIOMetadataarg3
IIOMetadata
Returns
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
intarg1
ImageTypeSpecifierarg2
intarg3
intarg4
IIOMetadataarg5
List<Arg5ExtendsJava_Awt_ImageNs_BufferedImage>arg6
ImageWriteParam
Type Parameters
Arg5ExtendsJava_Awt_ImageNs_BufferedImage
Exceptions
PrepareReplacePixels(int, Rectangle)
public void PrepareReplacePixels(int arg0, Rectangle arg1)
Parameters
Exceptions
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
IIOMetadataarg1
ImageTypeSpecifierarg2
intarg3
intarg4
IIOMetadataarg5
List<Arg5ExtendsJava_Awt_ImageNs_BufferedImage>arg6
ImageWriteParam
Type Parameters
Arg5ExtendsJava_Awt_ImageNs_BufferedImage
Exceptions
PrepareWriteSequence(IIOMetadata)
public void PrepareWriteSequence(IIOMetadata arg0)
Parameters
arg0
IIOMetadata
Exceptions
RemoveAllIIOWriteProgressListeners()
public void RemoveAllIIOWriteProgressListeners()
RemoveAllIIOWriteWarningListeners()
public void RemoveAllIIOWriteWarningListeners()
RemoveIIOWriteProgressListener(IIOWriteProgressListener)
public void RemoveIIOWriteProgressListener(IIOWriteProgressListener arg0)
Parameters
RemoveIIOWriteWarningListener(IIOWriteWarningListener)
public void RemoveIIOWriteWarningListener(IIOWriteWarningListener arg0)
Parameters
RemoveImage(int)
public void RemoveImage(int arg0)
Parameters
Exceptions
ReplaceImageMetadata(int, IIOMetadata)
public void ReplaceImageMetadata(int arg0, IIOMetadata arg1)
Parameters
arg0
intarg1
IIOMetadata
Exceptions
ReplacePixels(Raster, ImageWriteParam)
public void ReplacePixels(Raster arg0, ImageWriteParam arg1)
Parameters
arg0
Rasterarg1
ImageWriteParam
Exceptions
ReplacePixels(RenderedImage, ImageWriteParam)
public void ReplacePixels(RenderedImage arg0, ImageWriteParam arg1)
Parameters
Exceptions
ReplaceStreamMetadata(IIOMetadata)
public void ReplaceStreamMetadata(IIOMetadata arg0)
Parameters
arg0
IIOMetadata
Exceptions
Reset()
public void Reset()
Write(RenderedImage)
public void Write(RenderedImage arg0)
Parameters
Exceptions
Write(IIOImage)
public void Write(IIOImage arg0)
Parameters
Exceptions
Write(IIOMetadata, IIOImage, ImageWriteParam)
public void Write(IIOMetadata arg0, IIOImage arg1, ImageWriteParam arg2)
Parameters
arg0
IIOMetadataarg1
IIOImagearg2
ImageWriteParam
Exceptions
WriteInsert(int, IIOImage, ImageWriteParam)
public void WriteInsert(int arg0, IIOImage arg1, ImageWriteParam arg2)
Parameters
arg0
intarg1
IIOImagearg2
ImageWriteParam
Exceptions
WriteToSequence(IIOImage, ImageWriteParam)
public void WriteToSequence(IIOImage arg0, ImageWriteParam arg1)
Parameters
arg0
IIOImagearg1
ImageWriteParam