# Sandbox.Resources.ImageFileGenerator.Lossless

```csharp
bool Lossless { get; set; }
```

Store the image losslessly, without block compression or mips. For pixel art and UI that compression artifacts would spoil;
otherwise the texture is compressed, which is much smaller on disk and in memory.

Declared in [Sandbox.Resources.ImageFileGenerator](/api/Sandbox.Resources.ImageFileGenerator).
Assembly: `Sandbox.Engine`.
