# GetAutomaticFormat(string)

> Returns the TextureImporterFormat that would be automatically chosen for this platform.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public TextureImporterFormat GetAutomaticFormat(string platform)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Accepts the following platform strings; `Standalone`, `Web`, `iPhone`, `Android`, `Windows Store Apps`, and `tvOS`.

### Returns

| Type                                                                                          | Description                                                                                                            |
| --------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| [TextureImporterFormat](/engine/6000.0/script-reference/unityeditor/textureimporterformat.md) | Format chosen by the system for the provided platform, TextureImporterFormat.Automatic if the platform does not exist. |
