mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Implement abortion in image convertion process.
This commit is contained in:
@@ -6,11 +6,15 @@ namespace Aaru.Core.Image;
|
||||
|
||||
public partial class Convert
|
||||
{
|
||||
/// <summary>
|
||||
/// Builds and applies complete ImageInfo metadata to output image
|
||||
/// Copies input metadata and applies command-line overrides (title, comments, creator, drive info, etc.)
|
||||
/// Sets Aaru application version and applies all metadata fields to output format
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
ErrorNumber SetImageMetadata()
|
||||
{
|
||||
// Builds and applies complete ImageInfo metadata to output image
|
||||
// Copies input metadata and applies command-line overrides (title, comments, creator, drive info, etc.)
|
||||
// Sets Aaru application version and applies all metadata fields to output format
|
||||
if(_aborted) return ErrorNumber.NoError;
|
||||
|
||||
var imageInfo = new CommonTypes.Structs.ImageInfo
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user