---
title: "ImageFileType"
url: "https://reference.aspose.com/pdf/java/com.aspose.pdf/imagefiletype/"
product: "Aspose.PDF for Java API Reference"
description: "Enumerates the image file types."
---

**Inheritance:**
java.lang.Object, java.lang.Enum < ImageFileType > com.aspose.pdf.ImageFileType, java.lang.Enum < ImageFileType >, com.aspose.pdf.ImageFileType

**All Implemented Interfaces:**
Serializable, Comparable < ImageFileType >

```
public enum ImageFileType extends Enum < ImageFileType >
```

Enumerates the image file types.

## Fields

| Field | Description |
| --- | --- |
| [Base64](#Base64) | Base64 image file type. |
| [Dicom](#Dicom) | Dicom image file type. |
| [Svg](#Svg) | svg image file type. |
| [Unknown](#Unknown) | Unknown type. |

## Methods

| Method | Description |
| --- | --- |
| [getByValue](#getByValue-int-) |  |
| [getValue](#getValue--) |  |
| [valueOf](#valueOf-java.lang.String-) | Returns the enum constant of this type with the specified name. |
| [values](#values--) | Returns an array containing the constants of this enum type, in the order they are declared. |

### Base64 {#Base64}
```
public static final ImageFileType Base64
```

Base64 image file type.

### Dicom {#Dicom}
```
public static final ImageFileType Dicom
```

Dicom image file type.

### Svg {#Svg}
```
public static final ImageFileType Svg
```

svg image file type.

### Unknown {#Unknown}
```
public static final ImageFileType Unknown
```

Unknown type.

### getByValue {#getByValue-int-}
```
public static ImageFileType getByValue(int value)
```



**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  |  |

### getValue {#getValue--}
```
public int getValue()
```



### valueOf {#valueOf-java.lang.String-}
Returns the enum constant of this type with the specified name.

### values {#values--}
```
public static ImageFileType [] values()
```

Returns an array containing the constants of this enum type, in the order they are declared.

**Returns:**
an array containing the constants of this enum type, in the order they are declared
