Add support for negative and overflow sectors in image creation

This commit is contained in:
2025-10-23 11:21:47 +01:00
parent 23873fb2f5
commit e2d4ea76b8
55 changed files with 223 additions and 150 deletions

View File

@@ -519,10 +519,13 @@ public sealed partial class ImageConvertViewModel : ViewModelBase
Progress2Indeterminate = true;
});
// TODO: Get the source image number of negative and overflow sectors to convert them too
if(!outputFormat.Create(DestinationText,
_inputFormat.Info.MediaType,
parsedOptions,
_inputFormat.Info.Sectors,
0,
0,
_inputFormat.Info.SectorSize))
{
await Dispatcher.UIThread.InvokeAsync(async () => await MessageBoxManager