mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2025-12-30 21:30:05 -06:00
FF-2008: Added HEIC as a image type
This commit is contained in:
@@ -10,4 +10,5 @@ public class Constants
|
||||
internal const string IMAGE_FORMAT_TIFF = "Tiff";
|
||||
internal const string IMAGE_FORMAT_TGA = "Tga";
|
||||
internal const string IMAGE_FORMAT_WEBP = "WebP";
|
||||
internal const string IMAGE_FORMAT_HEIC = "Heic";
|
||||
}
|
||||
@@ -37,6 +37,7 @@ public abstract class ImageNode : ImageBaseNode
|
||||
new () { Value = "###GROUP###", Label = "Lossy Formats" },
|
||||
new () { Value = IMAGE_FORMAT_JPEG, Label = "JPEG" },
|
||||
new () { Value = IMAGE_FORMAT_GIF, Label = "GIF" },
|
||||
new () { Value = IMAGE_FORMAT_HEIC, Label = "HEIC" },
|
||||
new () { Value = IMAGE_FORMAT_PBM, Label = "PBM" },
|
||||
};
|
||||
}
|
||||
@@ -69,6 +70,7 @@ public abstract class ImageNode : ImageBaseNode
|
||||
case IMAGE_FORMAT_JPEG: return ImageType.Jpeg;
|
||||
case IMAGE_FORMAT_TIFF: return ImageType.Tiff;
|
||||
case IMAGE_FORMAT_WEBP: return ImageType.Webp;
|
||||
case IMAGE_FORMAT_HEIC: return ImageType.Heic;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user