> ## Documentation Index
> Fetch the complete documentation index at: https://chart-spec.enchor.us/llms.txt
> Use this file to discover all available pages before exploring further.

# FixOptions

What `fixIssues` fixes, and how.

## Properties

| Property | Modifier | Type | Description |
| - | - | - | - |
|  `albumArtSizes?` | `readonly` | readonly `number`\[] | The album art sizes accepted, as in `ScanOptions`: square art of another size is resized to the first. Default: `[512]`. |
|  `changeHashes?` | `readonly` | `boolean` | Also make the fixes that change a canonical hash. Default: `false`. |
|  `codes?` | `readonly` | readonly [`IssueCode`](https://chart-spec.enchor.us/scan-chart/api/index/type-aliases/IssueCode)\[] | Only these codes. Default: every code in `issueFixes`. |
|  `minSustainMs?` | `readonly` | `number` | The shortest sustain the short sustain fix keeps, in milliseconds. Default: 200, the charting guidelines'. |
|  `resizeImage?` | `readonly` | (`image`, `size`) => `Promise`\<`Uint8Array`\<`ArrayBufferLike`>> | Resizes an image to a square of `size` pixels, and returns it in the format and quality the caller chooses, PNG or JPEG. scan-chart has no image codec: without it, album art isn't resized. |
|  `sustainGapMs?` | `readonly` | `number` | The gap the sustain gap fix leaves before the next note, in milliseconds. Default: 60, the charting guidelines'. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.