# Uses of Interface
org.apache.commons.imaging.ImageFormat

Packages that use ImageFormat
Package
Description
org.apache.commons.imaging
The main package for Apache Commons Imaging.
org.apache.commons.imaging.formats.bmp
The BMP image format.
org.apache.commons.imaging.formats.dcx
The DCX image format.
org.apache.commons.imaging.formats.gif
The GIF image format.
org.apache.commons.imaging.formats.icns
The ICNS image format.
org.apache.commons.imaging.formats.ico
The ICO/CUR image formats.
org.apache.commons.imaging.formats.jpeg
The JPEG image format.
org.apache.commons.imaging.formats.pcx
The PCX image format.
org.apache.commons.imaging.formats.png
The PNG (Portable Network Graphics) image format.
org.apache.commons.imaging.formats.pnm
The PNM image format family.
org.apache.commons.imaging.formats.psd
The PSD image format.
org.apache.commons.imaging.formats.rgbe
The Radiance HDR image format.
org.apache.commons.imaging.formats.tiff
Provides classes and methods for reading and writing Tagged Image File Format (TIFF) files.
org.apache.commons.imaging.formats.wbmp
The Wireless Application Protocol Bitmap Format image format.
org.apache.commons.imaging.formats.webp
The WebP image format.
org.apache.commons.imaging.formats.xbm
The X BitMap image format.
org.apache.commons.imaging.formats.xpm
The X PixMap image format.
org.apache.commons.imaging.internal
Internal utility classes.

- ## Uses of ImageFormat in org.apache.commons.imaging

  Classes in org.apache.commons.imaging that implement ImageFormat
  Modifier and Type
  Class
  Description
  `enum`
  `ImageFormats`
  Enumerates known image formats.
  Methods in org.apache.commons.imaging that return ImageFormat
  Modifier and Type
  Method
  Description
  `protected abstract ImageFormat[]`
  AbstractImageParser.`getAcceptedTypes()`
  Gets an array of ImageFormat objects describing all accepted types
  `ImageFormat`
  ImageInfo.`getFormat()`
  Returns the image file format, ie.
  `static ImageFormat`
  Imaging.`guessFormat(byte[] bytes)`
  Attempts to determine the image format of a file based on its "magic numbers," the first bytes of the data.
  `static ImageFormat`
  Imaging.`guessFormat(File file)`
  Attempts to determine the image format of a file based on its "magic numbers," the first bytes of the data.
  `static ImageFormat`
  Imaging.`guessFormat(ByteSource byteSource)`
  Attempts to determine the image format of a file based on its "magic numbers," the first bytes of the data.
  Methods in org.apache.commons.imaging with parameters of type ImageFormat
  Modifier and Type
  Method
  Description
  `boolean`
  AbstractImageParser.`canAcceptType(ImageFormat imageFormat)`
  Tests whether the ImageParser implementation can accept the specified format.
  `static void`
  Imaging.`writeImage(BufferedImage src, File file, ImageFormat format)`
  Writes the content of a BufferedImage to a file using the specified image format.
  `static void`
  Imaging.`writeImage(BufferedImage src, OutputStream outputStream, ImageFormat format)`
  Writes the content of a BufferedImage to an OutputStream using the specified image format.
  `static byte[]`
  Imaging.`writeImageToBytes(BufferedImage src, ImageFormat format)`
  Writes the content of a BufferedImage to a byte array using the specified image format.
  Constructors in org.apache.commons.imaging with parameters of type ImageFormat
  Modifier
  Constructor
  Description
  ``
  `ImageInfo(String formatDetails, int bitsPerPixel, List<String> comments, ImageFormat format, String formatName, int height, String mimeType, int numberOfImages, int physicalHeightDpi, float physicalHeightInch, int physicalWidthDpi, float physicalWidthInch, int width, boolean progressive, boolean transparent, boolean usesPalette, ImageInfo.ColorType colorType, ImageInfo.CompressionAlgorithm compressionAlgorithm)`

- ## Uses of ImageFormat in org.apache.commons.imaging.formats.bmp

  Methods in org.apache.commons.imaging.formats.bmp that return ImageFormat
  Modifier and Type
  Method
  Description
  `protected ImageFormat[]`
  BmpImageParser.`getAcceptedTypes()`

- ## Uses of ImageFormat in org.apache.commons.imaging.formats.dcx

  Methods in org.apache.commons.imaging.formats.dcx that return ImageFormat
  Modifier and Type
  Method
  Description
  `protected ImageFormat[]`
  DcxImageParser.`getAcceptedTypes()`

- ## Uses of ImageFormat in org.apache.commons.imaging.formats.gif

  Methods in org.apache.commons.imaging.formats.gif that return ImageFormat
  Modifier and Type
  Method
  Description
  `protected ImageFormat[]`
  GifImageParser.`getAcceptedTypes()`

- ## Uses of ImageFormat in org.apache.commons.imaging.formats.icns

  Methods in org.apache.commons.imaging.formats.icns that return ImageFormat
  Modifier and Type
  Method
  Description
  `protected ImageFormat[]`
  IcnsImageParser.`getAcceptedTypes()`

- ## Uses of ImageFormat in org.apache.commons.imaging.formats.ico

  Methods in org.apache.commons.imaging.formats.ico that return ImageFormat
  Modifier and Type
  Method
  Description
  `protected ImageFormat[]`
  IcoImageParser.`getAcceptedTypes()`

- ## Uses of ImageFormat in org.apache.commons.imaging.formats.jpeg

  Methods in org.apache.commons.imaging.formats.jpeg that return ImageFormat
  Modifier and Type
  Method
  Description
  `protected ImageFormat[]`
  JpegImageParser.`getAcceptedTypes()`

- ## Uses of ImageFormat in org.apache.commons.imaging.formats.pcx

  Methods in org.apache.commons.imaging.formats.pcx that return ImageFormat
  Modifier and Type
  Method
  Description
  `protected ImageFormat[]`
  PcxImageParser.`getAcceptedTypes()`

- ## Uses of ImageFormat in org.apache.commons.imaging.formats.png

  Methods in org.apache.commons.imaging.formats.png that return ImageFormat
  Modifier and Type
  Method
  Description
  `protected ImageFormat[]`
  PngImageParser.`getAcceptedTypes()`

- ## Uses of ImageFormat in org.apache.commons.imaging.formats.pnm

  Methods in org.apache.commons.imaging.formats.pnm that return ImageFormat
  Modifier and Type
  Method
  Description
  `protected ImageFormat[]`
  PnmImageParser.`getAcceptedTypes()`

- ## Uses of ImageFormat in org.apache.commons.imaging.formats.psd

  Methods in org.apache.commons.imaging.formats.psd that return ImageFormat
  Modifier and Type
  Method
  Description
  `protected ImageFormat[]`
  PsdImageParser.`getAcceptedTypes()`

- ## Uses of ImageFormat in org.apache.commons.imaging.formats.rgbe

  Methods in org.apache.commons.imaging.formats.rgbe that return ImageFormat
  Modifier and Type
  Method
  Description
  `protected ImageFormat[]`
  RgbeImageParser.`getAcceptedTypes()`

- ## Uses of ImageFormat in org.apache.commons.imaging.formats.tiff

  Methods in org.apache.commons.imaging.formats.tiff that return ImageFormat
  Modifier and Type
  Method
  Description
  `protected ImageFormat[]`
  TiffImageParser.`getAcceptedTypes()`

- ## Uses of ImageFormat in org.apache.commons.imaging.formats.wbmp

  Methods in org.apache.commons.imaging.formats.wbmp that return ImageFormat
  Modifier and Type
  Method
  Description
  `protected ImageFormat[]`
  WbmpImageParser.`getAcceptedTypes()`

- ## Uses of ImageFormat in org.apache.commons.imaging.formats.webp

  Methods in org.apache.commons.imaging.formats.webp that return ImageFormat
  Modifier and Type
  Method
  Description
  `protected ImageFormat[]`
  WebPImageParser.`getAcceptedTypes()`

- ## Uses of ImageFormat in org.apache.commons.imaging.formats.xbm

  Methods in org.apache.commons.imaging.formats.xbm that return ImageFormat
  Modifier and Type
  Method
  Description
  `protected ImageFormat[]`
  XbmImageParser.`getAcceptedTypes()`

- ## Uses of ImageFormat in org.apache.commons.imaging.formats.xpm

  Methods in org.apache.commons.imaging.formats.xpm that return ImageFormat
  Modifier and Type
  Method
  Description
  `protected ImageFormat[]`
  XpmImageParser.`getAcceptedTypes()`

- ## Uses of ImageFormat in org.apache.commons.imaging.internal

  Methods in org.apache.commons.imaging.internal with parameters of type ImageFormat
  Modifier and Type
  Method
  Description
  `static <T extends ImagingParameters<T>>
  AbstractImageParser<T>`
  ImageParserFactory.`getImageParser(ImageFormat format)`